Fxed some cpp_check warnings

6 jobs for cpp_check_warnings in 86 minutes and 30 seconds
Status Job ID Name Coverage
  Test
passed #14078
Qt551 VS2013
VS2013-Qt-5.5.1-x64

00:20:16

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

00:23:44

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

00:23:13

passed #14074
MultiThreads Linux
clang-c++11-Qt5

00:09:34

passed #14075
MultiThreads Linux
cppcheck

00:39:02

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

00:04:01