2025-11-16 23:15 ftp://ftp.de.debian.org/debian/pool/main/s/stlcmd/stlcmd_1.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.12.48+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 2ad4620 (2025-11-14 19:45:56 +0100) count: 322 322 elapsed-time: 10.3 14.2 head-timing-info: old-timing-info: head results: stl_cmd-1.2/src/csgjs/math/Line3.cpp:12:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable point [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/Line3.cpp:16:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable point [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/Line3.cpp:24:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable direction [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/HashKeys.cpp:5:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plane [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/HashKeys.cpp:17:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plane [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/HashKeys.cpp:34:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPS [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/HashKeys.cpp:69:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/HashKeys.cpp:73:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/HashKeys.cpp:95:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/HashKeys.cpp:99:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/HashKeys.cpp:108:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/HashKeys.cpp:115:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dist [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/HashKeys.cpp:119:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/Matrix4x4.cpp:8:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/Matrix4x4.cpp:31:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/Matrix4x4.cpp:56:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/Matrix4x4.cpp:64:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/Matrix4x4.cpp:83:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/Matrix4x4.cpp:102:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/Trees.cpp:12:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plane [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/Trees.cpp:35:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plane [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/Trees.cpp:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parent [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/Trees.cpp:64:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable polygonTreeNodes [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/Trees.cpp:111:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plane [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/Trees.cpp:183:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable valid [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/Trees.cpp:218:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parent [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/Trees.cpp:222:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable removed [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/Trees.cpp:226:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable polygon [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/Trees.cpp:244:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable valid [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/Trees.cpp:276:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable valid [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/Trees.cpp:299:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plane [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/Trees.cpp:418:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable valid [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/Trees.cpp:442:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/Trees.cpp:454:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/Polygon3.cpp:25:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plane [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/Polygon3.cpp:52:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vertices [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/Polygon3.cpp:88:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vertices [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/Polygon3.cpp:103:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vertices [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/Polygon3.cpp:129:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _boundingBoxCacheValid [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/Polygon3.cpp:154:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _boundingSphereCacheValid [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/CSG.cpp:416:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/Vector3.cpp:9:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/Vector3.cpp:13:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/Vector3.cpp:17:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/Vector3.cpp:21:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/Vector3.cpp:25:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/Vector3.cpp:45:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NEG_EPS [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/Vector3.cpp:65:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/Vector3.cpp:105:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/Vector3.cpp:120:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/Vector3.cpp:124:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/util.cpp:22:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/util.cpp:65:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/util.cpp:59:22: performance: Using std::move for returning object by-value from function will affect copy elision optimization. More: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rf-return-move-local [returnStdMoveLocal] stl_cmd-1.2/src/csgjs/util.cpp:70:27: warning: If resource allocation fails, then there is a possible null pointer dereference: outf [nullPointerOutOfResources] stl_cmd-1.2/src/csgjs/util.cpp:63:23: note: Assuming allocation function fails stl_cmd-1.2/src/csgjs/util.cpp:63:23: note: Assignment 'outf=fopen(filename,"wb")', assigned value is 0 stl_cmd-1.2/src/csgjs/util.cpp:70:27: note: Null pointer dereference stl_cmd-1.2/src/csgjs/util.cpp:81:29: warning: If resource allocation fails, then there is a possible null pointer dereference: outf [nullPointerOutOfResources] stl_cmd-1.2/src/csgjs/util.cpp:63:23: note: Assuming allocation function fails stl_cmd-1.2/src/csgjs/util.cpp:63:23: note: Assignment 'outf=fopen(filename,"wb")', assigned value is 0 stl_cmd-1.2/src/csgjs/util.cpp:81:29: note: Null pointer dereference stl_cmd-1.2/src/csgjs/util.cpp:39:19: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/csgjs/util.cpp:38:19: note: readBytes is assigned stl_cmd-1.2/src/csgjs/util.cpp:39:19: note: readBytes is overwritten stl_cmd-1.2/src/csgjs/util.cpp:40:19: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/csgjs/util.cpp:39:19: note: readBytes is assigned stl_cmd-1.2/src/csgjs/util.cpp:40:19: note: readBytes is overwritten stl_cmd-1.2/src/csgjs/util.cpp:62:70: performance: Function parameter 'polygons' should be passed by const reference. [passedByValue] stl_cmd-1.2/src/csgjs/util.cpp:29:22: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/csgjs/util.cpp:40:19: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_area.cpp:30:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_area.cpp:46:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/CSG.cpp:7:8: warning: Member variable 'CSG::_isManifold' is not initialized in the constructor. [uninitMemberVar] stl_cmd-1.2/src/csgjs/CSG.cpp:8:8: warning: Member variable 'CSG::_isManifold' is not initialized in the constructor. [uninitMemberVar] stl_cmd-1.2/src/csgjs/CSG.cpp:9:8: warning: Member variable 'CSG::_isManifold' is not initialized in the constructor. [uninitMemberVar] stl_cmd-1.2/src/csgjs/CSG.h:27:5: style: Class 'CSG' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] stl_cmd-1.2/src/csgjs/CSG.h:28:5: style: Class 'CSG' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] stl_cmd-1.2/src/csgjs/Trees.h:33:7: style: Class 'PolygonTreeNode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] stl_cmd-1.2/src/csgjs/Trees.h:69:7: style: Class 'Node' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] stl_cmd-1.2/src/csgjs/Trees.h:86:7: style: Class 'Tree' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] stl_cmd-1.2/src/csgjs/CSG.h:30:26: performance: Function 'toPolygons()' should return member '_polygons' by const reference. [returnByReference] stl_cmd-1.2/src/csgjs/CSG.cpp:128:39: style:inconclusive: Function 'transform' argument 1 names different: declaration 'm' definition 'mat'. [funcArgNamesDifferent] stl_cmd-1.2/src/csgjs/CSG.h:37:36: note: Function 'transform' argument 1 names different: declaration 'm' definition 'mat'. stl_cmd-1.2/src/csgjs/CSG.cpp:128:39: note: Function 'transform' argument 1 names different: declaration 'm' definition 'mat'. stl_cmd-1.2/src/csgjs/CSG.cpp:139:78: style:inconclusive: Function 'findUnmatchedEdges' argument 1 names different: declaration 'u' definition 'unmatchedEdges'. [funcArgNamesDifferent] stl_cmd-1.2/src/csgjs/CSG.h:23:75: note: Function 'findUnmatchedEdges' argument 1 names different: declaration 'u' definition 'unmatchedEdges'. stl_cmd-1.2/src/csgjs/CSG.cpp:139:78: note: Function 'findUnmatchedEdges' argument 1 names different: declaration 'u' definition 'unmatchedEdges'. stl_cmd-1.2/src/csgjs/CSG.cpp:347:39: style: Local variable 'vertexItr' shadows outer variable [shadowVariable] stl_cmd-1.2/src/csgjs/CSG.cpp:289:41: note: Shadowed declaration stl_cmd-1.2/src/csgjs/CSG.cpp:347:39: note: Shadow variable stl_cmd-1.2/src/csgjs/CSG.cpp:373:39: style: Local variable 'vertexItr' shadows outer variable [shadowVariable] stl_cmd-1.2/src/csgjs/CSG.cpp:289:41: note: Shadowed declaration stl_cmd-1.2/src/csgjs/CSG.cpp:373:39: note: Shadow variable stl_cmd-1.2/src/stl_ascii.cpp:33:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_ascii.cpp:44:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_bbox.cpp:32:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_bbox.cpp:49:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_util.h:189:5: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] stl_cmd-1.2/src/stl_util.h:1041:5: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] stl_cmd-1.2/src/stl_util.h:211:13: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] stl_cmd-1.2/src/stl_util.h:225:13: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] stl_cmd-1.2/src/stl_util.h:231:13: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] stl_cmd-1.2/src/stl_bcylinder.cpp:32:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_bcylinder.cpp:48:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_area.cpp:71:19: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/stl_area.cpp:70:19: note: readBytes is assigned stl_cmd-1.2/src/stl_area.cpp:71:19: note: readBytes is overwritten stl_cmd-1.2/src/stl_area.cpp:72:19: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/stl_area.cpp:71:19: note: readBytes is assigned stl_cmd-1.2/src/stl_area.cpp:72:19: note: readBytes is overwritten stl_cmd-1.2/src/stl_util.h:102:43: style: Parameter 'facet' can be declared as pointer to const [constParameterPointer] stl_cmd-1.2/src/stl_util.h:275:37: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] stl_cmd-1.2/src/stl_util.h:316:38: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] stl_cmd-1.2/src/stl_util.h:326:28: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] stl_cmd-1.2/src/stl_util.h:825:32: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] stl_cmd-1.2/src/stl_util.h:847:27: style: Parameter 'm1' can be declared as pointer to const [constParameterPointer] stl_cmd-1.2/src/stl_util.h:847:36: style: Parameter 'm2' can be declared as pointer to const [constParameterPointer] stl_cmd-1.2/src/stl_util.h:869:31: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] stl_cmd-1.2/src/stl_util.h:869:39: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] stl_cmd-1.2/src/stl_util.h:876:33: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] stl_cmd-1.2/src/stl_util.h:887:28: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] stl_cmd-1.2/src/stl_util.h:887:36: style: Parameter 'v2' can be declared as pointer to const [constParameterPointer] stl_cmd-1.2/src/stl_util.h:893:34: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] stl_cmd-1.2/src/stl_util.h:893:42: style: Parameter 'v2' can be declared as pointer to const [constParameterPointer] stl_cmd-1.2/src/stl_util.h:899:27: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] stl_cmd-1.2/src/stl_util.h:906:27: style: Parameter 'm1' can be declared as pointer to const [constParameterPointer] stl_cmd-1.2/src/stl_util.h:928:28: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] stl_cmd-1.2/src/stl_util.h:928:36: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] stl_cmd-1.2/src/stl_util.h:934:26: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] stl_cmd-1.2/src/stl_util.h:934:34: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] stl_cmd-1.2/src/stl_util.h:940:26: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] stl_cmd-1.2/src/stl_util.h:940:34: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] stl_cmd-1.2/src/stl_util.h:946:27: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] stl_cmd-1.2/src/stl_util.h:946:35: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] stl_cmd-1.2/src/stl_util.h:302:26: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_util.h:302:16: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_area.cpp:61:22: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_area.cpp:72:19: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_bbox.cpp:46:15: style: Variable 'file_name' can be declared as pointer to const [constVariablePointer] stl_cmd-1.2/src/stl_binary.cpp:33:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_binary.cpp:44:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_boolean.cpp:31:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_boolean.cpp:63:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_ascii.cpp:47:31: style: Variable 'out_file_name' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/csgjs/math/Polygon3.h:19:5: style: Class 'Polygon' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] stl_cmd-1.2/src/csgjs/util.h:11:70: performance: Function parameter 'polygons' should be passed by const reference. [passedByValue] stl_cmd-1.2/src/stl_boolean.cpp:48:11: style: Variable 'a_file' can be declared as pointer to const [constVariablePointer] stl_cmd-1.2/src/stl_boolean.cpp:49:11: style: Variable 'b_file' can be declared as pointer to const [constVariablePointer] stl_cmd-1.2/src/stl_boolean.cpp:109:11: style: Variable 'out_filename' can be declared as pointer to const [constVariablePointer] stl_cmd-1.2/src/stl_borders.cpp:34:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_borders.cpp:117:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_bcylinder.cpp:98:24: warning: Uninitialized variable: max.x [uninitvar] stl_cmd-1.2/src/stl_bcylinder.cpp:71:22: note: Assuming condition is false stl_cmd-1.2/src/stl_bcylinder.cpp:98:24: note: Uninitialized variable: max.x stl_cmd-1.2/src/stl_bcylinder.cpp:98:30: warning: Uninitialized variable: min.x [uninitvar] stl_cmd-1.2/src/stl_bcylinder.cpp:71:22: note: Assuming condition is false stl_cmd-1.2/src/stl_bcylinder.cpp:98:30: note: Uninitialized variable: min.x stl_cmd-1.2/src/stl_bcylinder.cpp:133:65: warning: Uninitialized variable: pointOnCylinder.x [uninitvar] stl_cmd-1.2/src/stl_bcylinder.cpp:106:22: note: Assuming condition is false stl_cmd-1.2/src/stl_bcylinder.cpp:133:65: note: Uninitialized variable: pointOnCylinder.x stl_cmd-1.2/src/stl_bcylinder.cpp:63:22: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_bcylinder.cpp:66:13: style: Variable 'point.w' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_bcylinder.cpp:75:23: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_bcylinder.cpp:110:23: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_cone.cpp:32:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_cone.cpp:56:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_binary.cpp:47:31: style: Variable 'out_file_name' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_convex.cpp:36:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_convex.cpp:134:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_count.cpp:31:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_count.cpp:48:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_borders.cpp:77:5: performance: Variable 'v1' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] stl_cmd-1.2/src/stl_borders.cpp:78:5: performance: Variable 'v2' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] stl_cmd-1.2/src/stl_borders.cpp:158:17: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/stl_borders.cpp:157:17: note: readBytes is assigned stl_cmd-1.2/src/stl_borders.cpp:158:17: note: readBytes is overwritten stl_cmd-1.2/src/stl_borders.cpp:159:17: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/stl_borders.cpp:158:17: note: readBytes is assigned stl_cmd-1.2/src/stl_borders.cpp:159:17: note: readBytes is overwritten stl_cmd-1.2/src/stl_borders.cpp:160:17: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/stl_borders.cpp:159:17: note: readBytes is assigned stl_cmd-1.2/src/stl_borders.cpp:160:17: note: readBytes is overwritten stl_cmd-1.2/src/stl_borders.cpp:161:17: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/stl_borders.cpp:160:17: note: readBytes is assigned stl_cmd-1.2/src/stl_borders.cpp:161:17: note: readBytes is overwritten stl_cmd-1.2/src/stl_borders.cpp:131:15: style: Variable 'file' can be declared as pointer to const [constVariablePointer] stl_cmd-1.2/src/stl_borders.cpp:146:22: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_cone.cpp:82:15: style: Variable 'file' can be declared as pointer to const [constVariablePointer] stl_cmd-1.2/src/stl_cone.cpp:98:18: style: Variable 'abc' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_cone.cpp:98:14: style: Variable 'abc' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_cube.cpp:32:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_cube.cpp:53:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_count.cpp:66:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] stl_cmd-1.2/src/stl_count.cpp:108:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] stl_cmd-1.2/src/stl_convex.cpp:176:17: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/stl_convex.cpp:175:17: note: readBytes is assigned stl_cmd-1.2/src/stl_convex.cpp:176:17: note: readBytes is overwritten stl_cmd-1.2/src/stl_convex.cpp:177:17: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/stl_convex.cpp:176:17: note: readBytes is assigned stl_cmd-1.2/src/stl_convex.cpp:177:17: note: readBytes is overwritten stl_cmd-1.2/src/stl_convex.cpp:178:17: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/stl_convex.cpp:177:17: note: readBytes is assigned stl_cmd-1.2/src/stl_convex.cpp:178:17: note: readBytes is overwritten stl_cmd-1.2/src/stl_convex.cpp:179:17: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/stl_convex.cpp:178:17: note: readBytes is assigned stl_cmd-1.2/src/stl_convex.cpp:179:17: note: readBytes is overwritten stl_cmd-1.2/src/stl_count.cpp:96:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stl_cmd-1.2/src/stl_convex.cpp:148:15: style: Variable 'file' can be declared as pointer to const [constVariablePointer] stl_cmd-1.2/src/stl_convex.cpp:163:22: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_convex.cpp:179:17: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_cylinder.cpp:32:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_cylinder.cpp:56:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_cylinders.cpp:33:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_cylinders.cpp:181:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_cube.cpp:70:15: style: Variable 'file' can be declared as pointer to const [constVariablePointer] stl_cmd-1.2/src/stl_cube.cpp:161:11: style: Variable 'normals' can be declared as const array [constVariable] stl_cmd-1.2/src/Simplify.h:507:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_EPSILON [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/Simplify.h:1016:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/Simplify.h:1147:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_decimate.cpp:32:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_decimate.cpp:61:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_cylinder.cpp:79:15: style: Variable 'file' can be declared as pointer to const [constVariablePointer] stl_cmd-1.2/src/stl_cylinder.cpp:100:18: style: Variable 'abc' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_cylinder.cpp:100:14: style: Variable 'abc' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_empty.cpp:32:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_empty.cpp:54:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_cylinders.cpp:242:17: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/stl_cylinders.cpp:241:17: note: readBytes is assigned stl_cmd-1.2/src/stl_cylinders.cpp:242:17: note: readBytes is overwritten stl_cmd-1.2/src/stl_cylinders.cpp:243:17: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/stl_cylinders.cpp:242:17: note: readBytes is assigned stl_cmd-1.2/src/stl_cylinders.cpp:243:17: note: readBytes is overwritten stl_cmd-1.2/src/stl_cylinders.cpp:244:17: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/stl_cylinders.cpp:243:17: note: readBytes is assigned stl_cmd-1.2/src/stl_cylinders.cpp:244:17: note: readBytes is overwritten stl_cmd-1.2/src/stl_cylinders.cpp:245:17: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/stl_cylinders.cpp:244:17: note: readBytes is assigned stl_cmd-1.2/src/stl_cylinders.cpp:245:17: note: readBytes is overwritten stl_cmd-1.2/src/stl_cylinders.cpp:246:17: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/stl_cylinders.cpp:245:17: note: readBytes is assigned stl_cmd-1.2/src/stl_cylinders.cpp:246:17: note: readBytes is overwritten stl_cmd-1.2/src/stl_cylinders.cpp:202:15: style: Variable 'file' can be declared as pointer to const [constVariablePointer] stl_cmd-1.2/src/stl_flat.cpp:37:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_flat.cpp:81:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pos [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_cylinders.cpp:228:22: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_cylinders.cpp:235:18: style: Variable 'abc' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_cylinders.cpp:246:17: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_cylinders.cpp:235:14: style: Variable 'abc' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_header.cpp:30:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_header.cpp:56:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/csgjs/math/HashKeys.h:12:5: style: Struct 'PlaneKey' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] stl_cmd-1.2/src/csgjs/math/HashKeys.h:20:5: style: Struct 'LineKey' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] stl_cmd-1.2/src/csgjs/math/HashKeys.h:40:5: style: Struct 'VertexKey' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] stl_cmd-1.2/src/stl_flat.cpp:120:42: style: Local variable 'polyItr' shadows outer variable [shadowVariable] stl_cmd-1.2/src/stl_flat.cpp:77:36: note: Shadowed declaration stl_cmd-1.2/src/stl_flat.cpp:120:42: note: Shadow variable stl_cmd-1.2/src/stl_flat.cpp:134:42: style: Local variable 'polyItr' shadows outer variable [shadowVariable] stl_cmd-1.2/src/stl_flat.cpp:77:36: note: Shadowed declaration stl_cmd-1.2/src/stl_flat.cpp:134:42: note: Shadow variable stl_cmd-1.2/src/csgjs/math/Polygon3.h:30:119: performance:inconclusive: Function parameter 'normal' should be passed by const reference. [passedByValue] stl_cmd-1.2/src/stl_flat.cpp:57:11: style: Variable 'in_filename' can be declared as pointer to const [constVariablePointer] stl_cmd-1.2/src/stl_flat.cpp:65:11: style: Variable 'out_filename' can be declared as pointer to const [constVariablePointer] stl_cmd-1.2/src/stl_empty.cpp:49:11: style: Variable 'file' can be declared as pointer to const [constVariablePointer] stl_cmd-1.2/src/stl_merge.cpp:34:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_merge.cpp:55:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_header.cpp:90:9: warning:inconclusive: The buffer 'header' may not be null-terminated after the call to strncpy(). [terminateStrncpy] stl_cmd-1.2/src/stl_header.cpp:109:9: warning:inconclusive: The buffer 'header' may not be null-terminated after the call to strncpy(). [terminateStrncpy] stl_cmd-1.2/src/stl_header.cpp:47:11: style: Variable 'set_header' can be declared as pointer to const [constVariablePointer] stl_cmd-1.2/src/stl_header.cpp:48:11: style: Variable 'out_file' can be declared as pointer to const [constVariablePointer] stl_cmd-1.2/src/stl_header.cpp:113:26: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_header.cpp:113:16: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_normals.cpp:31:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_normals.cpp:80:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_merge.cpp:48:11: style: Variable 'out_file' can be declared as pointer to const [constVariablePointer] stl_cmd-1.2/src/stl_merge.cpp:126:15: style: Variable 'file' can be declared as pointer to const [constVariablePointer] stl_cmd-1.2/src/stl_sphere.cpp:30:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_sphere.cpp:55:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_merge.cpp:92:26: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_merge.cpp:92:16: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_merge.cpp:116:10: style: Unused variable: base1 [unusedVariable] stl_cmd-1.2/src/stl_merge.cpp:117:10: style: Unused variable: base2 [unusedVariable] stl_cmd-1.2/src/stl_spreadsheet.cpp:31:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_spreadsheet.cpp:51:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_normals.cpp:159:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] stl_cmd-1.2/src/stl_normals.cpp:137:15: style: Redundant initialization for 'readBytes'. The initialized value is overwritten before it is read. [redundantInitialization] stl_cmd-1.2/src/stl_normals.cpp:132:22: note: readBytes is initialized stl_cmd-1.2/src/stl_normals.cpp:137:15: note: readBytes is overwritten stl_cmd-1.2/src/stl_normals.cpp:163:19: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/stl_normals.cpp:162:19: note: readBytes is assigned stl_cmd-1.2/src/stl_normals.cpp:163:19: note: readBytes is overwritten stl_cmd-1.2/src/stl_normals.cpp:164:19: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/stl_normals.cpp:163:19: note: readBytes is assigned stl_cmd-1.2/src/stl_normals.cpp:164:19: note: readBytes is overwritten stl_cmd-1.2/src/stl_normals.cpp:165:19: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/stl_normals.cpp:164:19: note: readBytes is assigned stl_cmd-1.2/src/stl_normals.cpp:165:19: note: readBytes is overwritten stl_cmd-1.2/src/stl_normals.cpp:166:19: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/stl_normals.cpp:165:19: note: readBytes is assigned stl_cmd-1.2/src/stl_normals.cpp:166:19: note: readBytes is overwritten stl_cmd-1.2/src/stl_normals.cpp:49:11: style: Variable 'out_file' can be declared as pointer to const [constVariablePointer] stl_cmd-1.2/src/stl_normals.cpp:134:19: style: Variable 'zero' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_normals.cpp:137:15: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_normals.cpp:166:19: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_normals.cpp:134:14: style: Variable 'zero' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/Simplify.h:81:12: warning:inconclusive: Member variable 'vec3f::x' is not initialized in the constructor. [uninitMemberVar] stl_cmd-1.2/src/Simplify.h:81:12: warning:inconclusive: Member variable 'vec3f::y' is not initialized in the constructor. [uninitMemberVar] stl_cmd-1.2/src/Simplify.h:81:12: warning:inconclusive: Member variable 'vec3f::z' is not initialized in the constructor. [uninitMemberVar] stl_cmd-1.2/src/Simplify.h:133:19: style:inconclusive: Technically the member function 'vec3f::angle' can be const. [functionConst] stl_cmd-1.2/src/Simplify.h:145:19: style:inconclusive: Technically the member function 'vec3f::angle2' can be const. [functionConst] stl_cmd-1.2/src/Simplify.h:239:9: performance:inconclusive: Technically the member function 'vec3f::random_double_01' can be static (but you may consider moving to unnamed namespace). [functionStatic] stl_cmd-1.2/src/Simplify.h:317:9: style:inconclusive: Technically the member function 'SymetricMatrix::det' can be const. [functionConst] stl_cmd-1.2/src/Simplify.h:86:12: style: Struct 'vec3f' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] stl_cmd-1.2/src/Simplify.h:291:2: style: Class 'SymetricMatrix' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] stl_cmd-1.2/src/stl_sphere.cpp:91:15: style: Variable 'file' can be declared as pointer to const [constVariablePointer] stl_cmd-1.2/src/stl_sphere.cpp:111:18: style: Variable 'abc' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_sphere.cpp:111:14: style: Variable 'abc' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/Simplify.h:1040:25: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/Simplify.h:1039:25: note: readBytes is assigned stl_cmd-1.2/src/Simplify.h:1040:25: note: readBytes is overwritten stl_cmd-1.2/src/Simplify.h:1041:25: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/Simplify.h:1040:25: note: readBytes is assigned stl_cmd-1.2/src/Simplify.h:1041:25: note: readBytes is overwritten stl_cmd-1.2/src/Simplify.h:1042:25: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/Simplify.h:1041:25: note: readBytes is assigned stl_cmd-1.2/src/Simplify.h:1042:25: note: readBytes is overwritten stl_cmd-1.2/src/Simplify.h:1043:25: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/Simplify.h:1042:25: note: readBytes is assigned stl_cmd-1.2/src/Simplify.h:1043:25: note: readBytes is overwritten stl_cmd-1.2/src/Simplify.h:136:10: style: Local variable 'dot' shadows outer function [shadowFunction] stl_cmd-1.2/src/Simplify.h:122:19: note: Shadowed declaration stl_cmd-1.2/src/Simplify.h:136:10: note: Shadow variable stl_cmd-1.2/src/Simplify.h:148:10: style: Local variable 'dot' shadows outer function [shadowFunction] stl_cmd-1.2/src/Simplify.h:122:19: note: Shadowed declaration stl_cmd-1.2/src/Simplify.h:148:10: note: Shadow variable stl_cmd-1.2/src/Simplify.h:86:27: performance: Function parameter 'a' should be passed by const reference. [passedByValue] stl_cmd-1.2/src/Simplify.h:101:43: performance: Function parameter 'a' should be passed by const reference. [passedByValue] stl_cmd-1.2/src/Simplify.h:107:45: performance: Function parameter 'a' should be passed by const reference. [passedByValue] stl_cmd-1.2/src/Simplify.h:110:43: performance: Function parameter 'a' should be passed by const reference. [passedByValue] stl_cmd-1.2/src/Simplify.h:113:43: performance: Function parameter 'a' should be passed by const reference. [passedByValue] stl_cmd-1.2/src/Simplify.h:578:21: performance: Function parameter 'p' should be passed by const reference. [passedByValue] stl_cmd-1.2/src/Simplify.h:806:37: performance: Function parameter 'q' should be passed by const reference. [passedByValue] stl_cmd-1.2/src/Simplify.h:578:45: style: Parameter 'v0' can be declared as reference to const [constParameterReference] stl_cmd-1.2/src/Simplify.h:578:56: style: Parameter 'v1' can be declared as reference to const [constParameterReference] stl_cmd-1.2/src/Simplify.h:583:14: style: Variable 't' can be declared as reference to const [constVariableReference] stl_cmd-1.2/src/Simplify.h:705:14: style: Variable 't' can be declared as reference to const [constVariableReference] stl_cmd-1.2/src/Simplify.h:741:13: style: Variable 'v' can be declared as reference to const [constVariableReference] stl_cmd-1.2/src/Simplify.h:747:16: style: Variable 't' can be declared as reference to const [constVariableReference] stl_cmd-1.2/src/Simplify.h:783:14: style: Variable 't' can be declared as reference to const [constVariableReference] stl_cmd-1.2/src/Simplify.h:904:43: performance: Searching before insertion is not necessary. Instead of 'material_map[usemtl]=materials.size()' consider using 'material_map.try_emplace(usemtl, materials.size());'. [stlFindInsert] stl_cmd-1.2/src/Simplify.h:927:62: error: Uninitialized variables: v.tstart, v.tcount, v.border [uninitvar] stl_cmd-1.2/src/Simplify.h:988:26: error: Uninitialized variables: t.deleted, t.dirty [uninitvar] stl_cmd-1.2/src/Simplify.h:1054:36: error: Uninitialized variables: v.tstart, v.tcount, v.border [uninitvar] stl_cmd-1.2/src/Simplify.h:1085:35: warning: Uninitialized variables: tri.deleted, tri.deleted, tri.dirty, tri.dirty, tri.attr, tri.attr, tri.material, tri.material [uninitvar] stl_cmd-1.2/src/Simplify.h:1078:36: error: Uninitialized struct member: v.tstart [uninitStructMember] stl_cmd-1.2/src/Simplify.h:1078:36: error: Uninitialized struct member: v.tcount [uninitStructMember] stl_cmd-1.2/src/Simplify.h:1078:36: error: Uninitialized struct member: v.border [uninitStructMember] stl_cmd-1.2/src/Simplify.h:1085:35: error: Uninitialized struct member: tri.deleted [uninitStructMember] stl_cmd-1.2/src/Simplify.h:1085:35: error: Uninitialized struct member: tri.dirty [uninitStructMember] stl_cmd-1.2/src/Simplify.h:1085:35: error: Uninitialized struct member: tri.attr [uninitStructMember] stl_cmd-1.2/src/Simplify.h:1085:35: error: Uninitialized struct member: tri.material [uninitStructMember] stl_cmd-1.2/src/stl_spreadsheet.cpp:66:22: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_spreadsheet.cpp:74:17: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_spreadsheet.cpp:79:19: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/Simplify.h:492:7: style: Variable 'triangle_count' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/Simplify.h:1022:28: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/Simplify.h:1043:25: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/Simplify.h:1023:15: style: Unused variable: tmp_vec [unusedVariable] stl_cmd-1.2/src/Simplify.h:1158:15: style: Unused variable: normal [unusedVariable] stl_cmd-1.2/src/stl_torus.cpp:32:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_torus.cpp:60:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_transform.cpp:39:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_transform.cpp:222:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_volume.cpp:30:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_volume.cpp:46:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_torus.cpp:91:15: style: Variable 'file' can be declared as pointer to const [constVariablePointer] stl_cmd-1.2/src/stl_torus.cpp:111:18: style: Variable 'abc' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_torus.cpp:111:14: style: Variable 'abc' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_volume.cpp:71:19: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/stl_volume.cpp:70:19: note: readBytes is assigned stl_cmd-1.2/src/stl_volume.cpp:71:19: note: readBytes is overwritten stl_cmd-1.2/src/stl_volume.cpp:72:19: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/stl_volume.cpp:71:19: note: readBytes is assigned stl_cmd-1.2/src/stl_volume.cpp:72:19: note: readBytes is overwritten stl_cmd-1.2/src/stl_volume.cpp:61:22: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_volume.cpp:72:19: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_zero.cpp:33:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_zero.cpp:41:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_transform.cpp:280:19: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/stl_transform.cpp:265:19: note: readBytes is assigned stl_cmd-1.2/src/stl_transform.cpp:280:19: note: readBytes is overwritten stl_cmd-1.2/src/stl_transform.cpp:280:19: style: Variable 'readBytes' is reassigned a value before the old one has been used. [redundantAssignment] stl_cmd-1.2/src/stl_transform.cpp:276:23: note: readBytes is assigned stl_cmd-1.2/src/stl_transform.cpp:280:19: note: readBytes is overwritten stl_cmd-1.2/src/stl_transform.cpp:219:11: style: Variable 'outfile' can be declared as pointer to const [constVariablePointer] stl_cmd-1.2/src/stl_transform.cpp:247:22: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_transform.cpp:280:19: style: Variable 'readBytes' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_threads.cpp:36:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_threads.cpp:361:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] stl_cmd-1.2/src/stl_threads.cpp:394:11: style: Variable 'file' can be declared as pointer to const [constVariablePointer] stl_cmd-1.2/src/stl_threads.cpp:439:19: style: Variable 'Ptrough' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_threads.cpp:500:11: style: Variable 'pt5.x' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_threads.cpp:501:11: style: Variable 'pt5.y' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_threads.cpp:502:11: style: Variable 'pt5.z' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_threads.cpp:503:11: style: Variable 'pt5.w' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_threads.cpp:517:18: style: Variable 'anginc' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_threads.cpp:819:41: style: Variable 'wrote_outer_tri' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_threads.cpp:981:41: style: Variable 'wrote_outer_tri' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_threads.cpp:439:11: style: Variable 'Ptrough' is assigned a value that is never used. [unreadVariable] stl_cmd-1.2/src/stl_threads.cpp:517:11: style: Variable 'anginc' is assigned a value that is never used. [unreadVariable] diff: DONE