[cosmetic] Remove a couple of warnings