removed warnings
Merge pull request #513 from Catrobat/removeWarnings

removed unused code