MAINT: fix a few harmless compiler warnings