fixes warnings in QuadCommand
fixes warning compiler
Merge pull request #4515 from ricardoquesada/more_warning_fixes

More warning fixes