Removing dead code

Small change to remove dead code that triggers warnings in some editors/code analyzers. No change of functionality.
Merge pull request #521 from zeh/patch-1

Removing dead code