slight correction

Deleted a variable and an assignment that were not needed yet caused errors, because warnings are handled as errors