Remove some warnings.

Signed-off-by: Aron Cedercrantz <aron@cedercrantz.se>