Merge branch 'fix_cppchecks' into 'master'

Fix cppchecks

See merge request !18
9 jobs from master in 3 minutes and 27 seconds
Status Job ID Name Coverage
  Test
passed #23859
VS2013
VS2013-32-bit

00:00:50

passed #23858
VS2013
VS2013-64-bit

00:00:59

passed #23857
VS2015
VS2015-32-bit

00:01:07

passed #23856
VS2015
VS2015-64-bit

00:01:19

passed #23853
Linux
clang-c++11

00:03:19

passed #23855
Linux
cppcheck

00:00:22

passed #23860
Linux
doc

00:00:18

passed #23852
Linux
gcc-c++11

00:03:26

passed #23854
Apple
macos-c++11

00:01:24