Fxed some cpp_check warnings

6 jobs for cpp_check_warnings in 86 minutes and 30 seconds
Status Name Job ID Coverage
  Test
passed clang-c++11-Qt5 #14074
Linux MultiThreads

00:09:34

passed cppcheck #14075
Linux MultiThreads

00:39:02

passed gcc-c++11-Qt5 #14073
Linux

00:04:01

passed VS2013-Qt-5.5.1-x64 #14078
VS2013 Qt551

00:20:16

passed VS2015-Qt-5.6.0-x32 #14077
VS2015 Qt56

00:23:44

passed VS2015-Qt-5.6.0-x64 #14076
VS2015 Qt56

00:23:13