init: fix some warnings

Signed-off-by: Dan Trifan <jimsth@gmail.com>