Fix CID 1135181
Fix 2 GCC warnings
Fix CID 1134974
Fix CID 1134702