We can't: the error means exactly what is says.
The variable insert is assigned but its value is never been used
You have declared
insert
, you have given it an initial value, but you do not use it in your code again.
We can't fix that: we have no idea what the rest of your code does, or where the variable is supposed to fit in!