More cppcheck warnings

7 jobs for restructure_ObjectTypes in 60 minutes and 36 seconds (queued for 6 seconds)
Status Name Job ID Coverage
  Test
passed clang-c++11-Qt5 #23240
Linux MultiThreads

00:10:47

passed cppcheck #23241
Linux MultiThreads

00:03:16

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

00:03:08

passed Mac-Cpp11 #23245
Apple

00:36:50

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

00:18:46

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

00:17:23

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

00:20:45