Cppcheck fixes

12 jobs from fix_cppchecks in 48 seconds
Status Job ID Name Coverage
  Test
canceled #23639
VS2013
VS2013-32-bit

canceled #23638
VS2013
VS2013-64-bit

canceled #23637
VS2015
VS2015-32-bit

canceled #23636
VS2015
VS2015-64-bit

failed #23630
Linux
clang-c++11

00:00:06

failed #23632
Linux
clang-c++98

00:00:02

failed #23635
Linux
cppcheck

00:00:43

passed #23640
Linux
doc

00:00:16

failed #23629
Linux
gcc-c++11

00:00:05

failed #23631
Linux
gcc-c++98

00:00:02

canceled #23633
Apple
macos-c++11

canceled #23634
Apple
macos-c++98

 
Name Stage Failure
failed
cppcheck Test There is an unknown failure, please try again

==============================================================================
CPPCHECK Summary
==============================================================================


Total CPPCHECK error Count is 7, which is too High! CPPCHECK Run failed

ERROR: Build failed: exit status 1
failed
clang-c++98 Test There is an unknown failure, please try again
                                                               ^
3 errors generated.
src/CMakeFiles/OpenVolumeMesh.dir/build.make:86: recipe for target 'src/CMakeFiles/OpenVolumeMesh.dir/OpenVolumeMesh/Attribs/StatusAttrib.cc.o' failed
make[2]: *** [src/CMakeFiles/OpenVolumeMesh.dir/OpenVolumeMesh/Attribs/StatusAttrib.cc.o] Error 1
CMakeFiles/Makefile2:92: recipe for target 'src/CMakeFiles/OpenVolumeMesh.dir/all' failed
make[1]: *** [src/CMakeFiles/OpenVolumeMesh.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
ERROR: Build failed: exit status 1
failed
gcc-c++98 Test There is an unknown failure, please try again
                              ^~~~~~~~~~~
/local/gitlab-runner/builds/96c8e8bf/0/OpenVolumeMesh/OpenVolumeMesh/src/OpenVolumeMesh/Attribs/../Core/TopologyKernel.hh:910:30: note: no known conversion for argument 1 from ‘const int’ to ‘const OpenVolumeMesh::HalfEdgeHandle&’
src/CMakeFiles/OpenVolumeMesh.dir/build.make:86: recipe for target 'src/CMakeFiles/OpenVolumeMesh.dir/OpenVolumeMesh/Attribs/StatusAttrib.cc.o' failed
make[2]: *** [src/CMakeFiles/OpenVolumeMesh.dir/OpenVolumeMesh/Attribs/StatusAttrib.cc.o] Error 1
CMakeFiles/Makefile2:92: recipe for target 'src/CMakeFiles/OpenVolumeMesh.dir/all' failed
make[1]: *** [src/CMakeFiles/OpenVolumeMesh.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
ERROR: Build failed: exit status 1
failed
clang-c++11 Test There is an unknown failure, please try again
                                                               ^
3 errors generated.
src/CMakeFiles/OpenVolumeMesh.dir/build.make:86: recipe for target 'src/CMakeFiles/OpenVolumeMesh.dir/OpenVolumeMesh/Attribs/StatusAttrib.cc.o' failed
make[2]: *** [src/CMakeFiles/OpenVolumeMesh.dir/OpenVolumeMesh/Attribs/StatusAttrib.cc.o] Error 1
CMakeFiles/Makefile2:92: recipe for target 'src/CMakeFiles/OpenVolumeMesh.dir/all' failed
make[1]: *** [src/CMakeFiles/OpenVolumeMesh.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
ERROR: Build failed: exit status 1
failed
gcc-c++11 Test There is an unknown failure, please try again
                              ^~~~~~~~~~~
/local/gitlab-runner/builds/0441ed36/0/OpenVolumeMesh/OpenVolumeMesh/src/OpenVolumeMesh/Attribs/../Core/TopologyKernel.hh:910:30: note: no known conversion for argument 1 from ‘const int’ to ‘const OpenVolumeMesh::HalfEdgeHandle&’
src/CMakeFiles/OpenVolumeMesh.dir/build.make:86: recipe for target 'src/CMakeFiles/OpenVolumeMesh.dir/OpenVolumeMesh/Attribs/StatusAttrib.cc.o' failed
make[2]: *** [src/CMakeFiles/OpenVolumeMesh.dir/OpenVolumeMesh/Attribs/StatusAttrib.cc.o] Error 1
CMakeFiles/Makefile2:92: recipe for target 'src/CMakeFiles/OpenVolumeMesh.dir/all' failed
make[1]: *** [src/CMakeFiles/OpenVolumeMesh.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
ERROR: Build failed: exit status 1