Fix some minor warnings which have no effect on code produced