some small warnings removed.

Signed-off-by: gitta-mannen <mail@janpettersson.com>