Removed unnecessary line of code and other stuff suggested by cppcheck.
Removed unnecessary line of code and other stuff suggested by cppcheck.

cosinekitty/electrons,cosinekitty/electrons,cosinekitty/electrons,cosinekitty/electrons