fixed some warnings

Change-Id: I593c5a56754651a8f379b9f4ebccd39e90210276
Reviewed-on: http://gerrit.esdi-community.eu/3120
Tested-by: Jenkins <sitemple@igd.fraunhofer.de>
Reviewed-by: Simon Templer <simon.templer@igd.fraunhofer.de>