Fix three GCC warnings