Dropped unused code

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Fixed a warning