Fixing trivial compiler warnings