More cppcheck warnings

7 jobs for restructure_ObjectTypes in 60 minutes and 36 seconds (queued for 6 seconds)
Status Job ID Name Coverage
  Test
passed #23245
Apple
Mac-Cpp11

00:36:50

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

00:18:46

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

00:17:23

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

00:20:45

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

00:10:47

passed #23241
MultiThreads Linux
cppcheck

00:03:16

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

00:03:08