Removed some warnings.

Signed-off-by: Advtech