fixed some warnings

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