2026-05-01 23:55 ftp://ftp.de.debian.org/debian/pool/main/g/galvani/galvani_0.39.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --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 -j6 platform: Linux-7.0.3+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.12 client-version: 1.4.0 compiler: g++ (Debian 15.2.0-17) 15.2.0 cppcheck: head 2.20.0 head-info: e5c4a734 (2026-05-01 11:10:43 +0200) count: 621 621 elapsed-time: 0.9 0.8 head-timing-info: old-timing-info: head results: galvani-0.39/src/data_rw.cxx:48:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] galvani-0.39/src/data_rw.cxx:137:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] galvani-0.39/src/data_rw.cxx:259:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] galvani-0.39/src/data_rw.cxx:293:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] galvani-0.39/src/data_rw.cxx:381:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] galvani-0.39/src/print.cxx:27:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] galvani-0.39/src/print.cxx:68:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRINT_OPERATION_ACTION_PRINT_DIALOG [valueFlowBailoutIncompleteVar] galvani-0.39/src/print.cxx:93:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ORIENTATION_VERTICAL [valueFlowBailoutIncompleteVar] galvani-0.39/src/print.cxx:424:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TAB_LEFT [valueFlowBailoutIncompleteVar] galvani-0.39/src/data_rw.cxx:43:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/data_rw.cxx:47:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/data_rw.cxx:50:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/data_rw.cxx:72:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/data_rw.cxx:134:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/data_rw.cxx:136:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/data_rw.cxx:138:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/data_rw.cxx:164:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/data_rw.cxx:216:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/data_rw.cxx:220:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/data_rw.cxx:294:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/data_rw.cxx:295:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/data_rw.cxx:298:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/data_rw.cxx:289:10: style: Variable 'f_name' is reassigned a value before the old one has been used. [redundantAssignment] galvani-0.39/src/data_rw.cxx:285:39: note: f_name is assigned galvani-0.39/src/data_rw.cxx:289:10: note: f_name is overwritten galvani-0.39/src/data_rw.cxx:35:9: style: The scope of the variable 'x' can be reduced. [variableScope] galvani-0.39/src/data_rw.cxx:35:11: style: The scope of the variable 'y' can be reduced. [variableScope] galvani-0.39/src/data_rw.cxx:36:10: style: The scope of the variable 'val' can be reduced. [variableScope] galvani-0.39/src/data_rw.cxx:128:10: style: The scope of the variable 'val' can be reduced. [variableScope] galvani-0.39/src/data_rw.cxx:129:23: style: The scope of the variable 'xstr' can be reduced. [variableScope] galvani-0.39/src/data_rw.cxx:129:29: style: The scope of the variable 'ystr' can be reduced. [variableScope] galvani-0.39/src/data_rw.cxx:130:9: style: The scope of the variable 'pos' can be reduced. [variableScope] galvani-0.39/src/data_rw.cxx:379:6: style: The scope of the variable 'pos' can be reduced. [variableScope] galvani-0.39/src/data_rw.cxx:278:2: style: Label 'std' is not used. [unusedLabel] galvani-0.39/src/data_rw.cxx:101:31: style: Local variable 'i' shadows outer variable [shadowVariable] galvani-0.39/src/data_rw.cxx:34:6: note: Shadowed declaration galvani-0.39/src/data_rw.cxx:101:31: note: Shadow variable galvani-0.39/src/data_rw.cxx:282:28: style: Local variable 'img' shadows outer variable [shadowVariable] galvani-0.39/src/data_rw.h:76:27: note: Shadowed declaration galvani-0.39/src/data_rw.cxx:282:28: note: Shadow variable galvani-0.39/src/data_rw.cxx:232:37: performance: Function parameter 'funct' should be passed by const reference. [passedByValue] galvani-0.39/src/data_rw.cxx:360:28: performance: Function parameter 't' should be passed by const reference. [passedByValue] galvani-0.39/src/data_rw.cxx:193:11: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] galvani-0.39/src/data_rw.cxx:196:8: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] galvani-0.39/src/data_rw.cxx:34:6: style: Variable 'i' is assigned a value that is never used. [unreadVariable] galvani-0.39/src/data_rw.cxx:34:10: style: Unused variable: j [unusedVariable] galvani-0.39/src/data_rw.cxx:34:13: style: Unused variable: end [unusedVariable] galvani-0.39/src/data_rw.cxx:129:35: style: Unused variable: dezimal [unusedVariable] galvani-0.39/src/data_rw.cxx:130:13: style: Unused variable: dotpos [unusedVariable] galvani-0.39/src/print.cxx:31:2: performance: Variable 'print_op' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] galvani-0.39/src/print.cxx:37:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/print.cxx:99:45: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/print.cxx:114:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/print.cxx:129:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/print.cxx:144:46: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/print.cxx:245:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/print.cxx:250:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/print.cxx:421:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/print.cxx:430:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/print.cxx:435:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/print.cxx:163:27: style: The scope of the variable 'img_width' can be reduced. [variableScope] galvani-0.39/src/print.cxx:163:38: style: The scope of the variable 'img_height' can be reduced. [variableScope] galvani-0.39/src/print.cxx:165:9: style: The scope of the variable 'img_space_width' can be reduced. [variableScope] galvani-0.39/src/print.cxx:165:26: style: The scope of the variable 'img_space_height' can be reduced. [variableScope] galvani-0.39/src/print.cxx:166:9: style: The scope of the variable 'new_img_width' can be reduced. [variableScope] galvani-0.39/src/print.cxx:166:26: style: The scope of the variable 'new_img_height' can be reduced. [variableScope] galvani-0.39/src/print.cxx:169:9: style: The scope of the variable 'line_height' can be reduced. [variableScope] galvani-0.39/src/print.cxx:284:6: style: The scope of the variable 'baseline' can be reduced. [variableScope] galvani-0.39/src/print.cxx:324:6: style: The scope of the variable 'width' can be reduced. [variableScope] galvani-0.39/src/print.cxx:324:13: style: The scope of the variable 'height' can be reduced. [variableScope] galvani-0.39/src/print.cxx:325:6: style: The scope of the variable 'img_width' can be reduced. [variableScope] galvani-0.39/src/print.cxx:325:17: style: The scope of the variable 'img_height' can be reduced. [variableScope] galvani-0.39/src/print.cxx:326:6: style: The scope of the variable 'text_width' can be reduced. [variableScope] galvani-0.39/src/print.cxx:326:18: style: The scope of the variable 'text_height' can be reduced. [variableScope] galvani-0.39/src/print.cxx:327:9: style: The scope of the variable 'img_space_width' can be reduced. [variableScope] galvani-0.39/src/print.cxx:327:26: style: The scope of the variable 'img_space_height' can be reduced. [variableScope] galvani-0.39/src/print.cxx:328:6: style: The scope of the variable 'new_img_width' can be reduced. [variableScope] galvani-0.39/src/print.cxx:328:23: style: The scope of the variable 'new_img_height' can be reduced. [variableScope] galvani-0.39/src/print.cxx:329:9: style: The scope of the variable 'scale_factor' can be reduced. [variableScope] galvani-0.39/src/print.cxx:329:23: style: The scope of the variable 'pc_posx' can be reduced. [variableScope] galvani-0.39/src/print.cxx:329:32: style: The scope of the variable 'pc_posy' can be reduced. [variableScope] galvani-0.39/src/print.cxx:80:45: style:inconclusive: Function 'set_printoptions' argument 1 names different: declaration 'printpage_options' definition 'printoption'. [funcArgNamesDifferent] galvani-0.39/src/typedef.h:130:38: note: Function 'set_printoptions' argument 1 names different: declaration 'printpage_options' definition 'printoption'. galvani-0.39/src/print.cxx:80:45: note: Function 'set_printoptions' argument 1 names different: declaration 'printpage_options' definition 'printoption'. galvani-0.39/src/print.cxx:306:9: style: Local variable 'layout_line' shadows outer variable [shadowVariable] galvani-0.39/src/typedef.h:120:35: note: Shadowed declaration galvani-0.39/src/print.cxx:306:9: note: Shadow variable galvani-0.39/src/print.cxx:166:22: style: Variable 'new_img_width' is assigned a value that is never used. [unreadVariable] galvani-0.39/src/print.cxx:166:40: style: Variable 'new_img_height' is assigned a value that is never used. [unreadVariable] galvani-0.39/src/print.cxx:181:12: style: Variable 'pg_height' is assigned a value that is never used. [unreadVariable] galvani-0.39/src/print.cxx:214:17: style: Variable 'new_img_width' is assigned a value that is never used. [unreadVariable] galvani-0.39/src/print.cxx:223:19: style: Variable 'new_img_width' is assigned a value that is never used. [unreadVariable] galvani-0.39/src/print.cxx:162:6: style: Unused variable: width [unusedVariable] galvani-0.39/src/print.cxx:162:13: style: Unused variable: height [unusedVariable] galvani-0.39/src/print.cxx:170:9: style: Unused variable: scale_factor [unusedVariable] galvani-0.39/src/print.cxx:328:19: style: Variable 'new_img_width' is assigned a value that is never used. [unreadVariable] galvani-0.39/src/print.cxx:378:10: style: Variable 'width' is assigned a value that is never used. [unreadVariable] galvani-0.39/src/print.cxx:379:11: style: Variable 'height' is assigned a value that is never used. [unreadVariable] galvani-0.39/src/eval.cxx:33:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POINTER_MOTION_MASK [valueFlowBailoutIncompleteVar] galvani-0.39/src/eval.cxx:55:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POINTER_MOTION_MASK [valueFlowBailoutIncompleteVar] galvani-0.39/src/eval.cxx:961:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TAB_LEFT [valueFlowBailoutIncompleteVar] galvani-0.39/src/main.cc:77:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] galvani-0.39/src/main.cc:609:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] galvani-0.39/src/main.cc:679:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CURRENT_TIME [valueFlowBailoutIncompleteVar] galvani-0.39/src/options.cxx:52:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAUD_600 [valueFlowBailoutIncompleteVar] galvani-0.39/src/options.cxx:82:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHAR_SIZE_7 [valueFlowBailoutIncompleteVar] galvani-0.39/src/options.cxx:105:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLOW_CONTROL_HARDWARE [valueFlowBailoutIncompleteVar] galvani-0.39/src/options.cxx:126:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STOP_BITS_1 [valueFlowBailoutIncompleteVar] galvani-0.39/src/options.cxx:148:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARITY_EVEN [valueFlowBailoutIncompleteVar] galvani-0.39/src/options.cxx:713:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] galvani-0.39/src/options.cxx:1200:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAUD_9600 [valueFlowBailoutIncompleteVar] galvani-0.39/src/options.cxx:1227:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] galvani-0.39/src/options.cxx:1305:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] galvani-0.39/src/options.cxx:1407:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] galvani-0.39/src/options.cxx:1701:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] galvani-0.39/src/main.cc:125:24: style: Obsolete function 'std::asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] galvani-0.39/src/main.cc:125:37: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] galvani-0.39/src/main.cc:59:2: performance: Variable 'title' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] galvani-0.39/src/main.cc:60:2: performance: Variable 'funktion_x' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] galvani-0.39/src/main.cc:60:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:61:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:96:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:96:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:96:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:96:59: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:96:75: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:97:2: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:97:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:97:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:97:44: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:99:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:100:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:101:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:102:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:103:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:104:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:105:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:106:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:107:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:108:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:109:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:110:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:111:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:112:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:113:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:114:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:115:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:116:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:117:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:118:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:119:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:120:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:597:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:670:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:671:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/main.cc:633:6: style: The scope of the variable 'pos' can be reduced. [variableScope] galvani-0.39/src/main.cc:660:28: style: The scope of the variable 'error_msg' can be reduced. [variableScope] galvani-0.39/src/main.cc:665:10: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] galvani-0.39/src/main.cc:651:13: style: Variable 'result' is assigned a value that is never used. [unreadVariable] galvani-0.39/src/mess.cxx:51:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAUD_9600 [valueFlowBailoutIncompleteVar] galvani-0.39/src/mess.cxx:123:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] galvani-0.39/src/mess.cxx:203:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLOW_CONTROL_SOFTWARE [valueFlowBailoutIncompleteVar] galvani-0.39/src/mess.cxx:913:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCALE [valueFlowBailoutIncompleteVar] galvani-0.39/src/mess.cxx:1278:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cspline_hermite [valueFlowBailoutIncompleteVar] galvani-0.39/src/mess.cxx:1494:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCALE [valueFlowBailoutIncompleteVar] galvani-0.39/src/mess.cxx:1594:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] galvani-0.39/src/mess.cxx:1730:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_MOTION_MASK [valueFlowBailoutIncompleteVar] galvani-0.39/src/mess.cxx:2050:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] galvani-0.39/src/mess.cxx:2411:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] galvani-0.39/src/mess.cxx:2566:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RESPONSE_OK [valueFlowBailoutIncompleteVar] galvani-0.39/src/mess.cxx:2580:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RESPONSE_OK [valueFlowBailoutIncompleteVar] galvani-0.39/src/eval.cxx:39:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:52:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:61:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:68:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:73:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:77:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:119:55: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:137:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:205:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:228:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:251:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:274:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:386:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:387:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:390:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:390:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:391:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:391:49: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:398:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:401:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:401:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:402:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:402:49: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:450:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:967:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:968:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:970:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:978:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:979:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:982:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:993:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:994:49: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:997:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:1000:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:1002:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:1004:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/eval.cxx:46:14: style: The scope of the variable 'option' can be reduced. [variableScope] galvani-0.39/src/eval.cxx:47:6: style: The scope of the variable 'opt_page' can be reduced. [variableScope] galvani-0.39/src/eval.cxx:194:10: style: The scope of the variable 'val' can be reduced. [variableScope] galvani-0.39/src/eval.cxx:217:10: style: The scope of the variable 'val' can be reduced. [variableScope] galvani-0.39/src/eval.cxx:240:10: style: The scope of the variable 'val' can be reduced. [variableScope] galvani-0.39/src/eval.cxx:263:10: style: The scope of the variable 'val' can be reduced. [variableScope] galvani-0.39/src/eval.cxx:486:9: style: The scope of the variable 'x' can be reduced. [variableScope] galvani-0.39/src/eval.cxx:486:11: style: The scope of the variable 'y' can be reduced. [variableScope] galvani-0.39/src/eval.cxx:641:10: style: The scope of the variable 'val' can be reduced. [variableScope] galvani-0.39/src/eval.cxx:643:18: style: The scope of the variable 'gauss' can be reduced. [variableScope] galvani-0.39/src/eval.cxx:706:15: style: The scope of the variable 'val2' can be reduced. [variableScope] galvani-0.39/src/eval.cxx:790:10: style: The scope of the variable 'pxy' can be reduced. [variableScope] galvani-0.39/src/eval.cxx:866:9: style: The scope of the variable 'dx' can be reduced. [variableScope] galvani-0.39/src/eval.cxx:866:12: style: The scope of the variable 'dy' can be reduced. [variableScope] galvani-0.39/src/eval.cxx:866:15: style: The scope of the variable 'dxy' can be reduced. [variableScope] galvani-0.39/src/eval.cxx:875:15: style: The scope of the variable 'pc' can be reduced. [variableScope] galvani-0.39/src/eval.cxx:885:30: style: Local variable 'i' shadows outer variable [shadowVariable] galvani-0.39/src/eval.cxx:864:6: note: Shadowed declaration galvani-0.39/src/eval.cxx:885:30: note: Shadow variable galvani-0.39/src/eval.cxx:482:45: style: Parameter 'p' can be declared as reference to const [constParameterReference] galvani-0.39/src/eval.cxx:514:47: style: Parameter 'p' can be declared as reference to const [constParameterReference] galvani-0.39/src/eval.cxx:547:47: style: Parameter 'p' can be declared as reference to const [constParameterReference] galvani-0.39/src/eval.cxx:817:38: style: Parameter 'p' can be declared as reference to const [constParameterReference] galvani-0.39/src/eval.cxx:836:38: style: Parameter 'p' can be declared as reference to const [constParameterReference] galvani-0.39/src/eval.cxx:633:48: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] galvani-0.39/src/eval.cxx:804:11: error: Uninitialized variables: peak.max, peak.xb1, peak.xb2, peak.area, peak.percent [uninitvar] galvani-0.39/src/eval.cxx:688:25: error: Uninitialized struct member: peak.xb1 [uninitStructMember] galvani-0.39/src/eval.cxx:688:25: error: Uninitialized struct member: peak.xb2 [uninitStructMember] galvani-0.39/src/eval.cxx:688:25: error: Uninitialized struct member: peak.area [uninitStructMember] galvani-0.39/src/eval.cxx:688:25: error: Uninitialized struct member: peak.percent [uninitStructMember] galvani-0.39/src/eval.cxx:812:9: error: Uninitialized struct member: peak.xb1 [uninitStructMember] galvani-0.39/src/eval.cxx:812:9: error: Uninitialized struct member: peak.xb2 [uninitStructMember] galvani-0.39/src/eval.cxx:812:9: error: Uninitialized struct member: peak.area [uninitStructMember] galvani-0.39/src/eval.cxx:812:9: error: Uninitialized struct member: peak.percent [uninitStructMember] galvani-0.39/src/eval.cxx:48:11: style: Unused variable: xval [unusedVariable] galvani-0.39/src/eval.cxx:48:17: style: Unused variable: yval [unusedVariable] galvani-0.39/src/eval.cxx:459:5: style: Variable 'x' is assigned a value that is never used. [unreadVariable] galvani-0.39/src/eval.cxx:460:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] galvani-0.39/src/eval.cxx:520:24: style: Variable 'syy' is assigned a value that is never used. [unreadVariable] galvani-0.39/src/eval.cxx:538:7: style: Variable 'syy' is assigned a value that is never used. [unreadVariable] galvani-0.39/src/eval.cxx:554:32: style: Variable 'syy' is assigned a value that is never used. [unreadVariable] galvani-0.39/src/eval.cxx:578:7: style: Variable 'syy' is assigned a value that is never used. [unreadVariable] galvani-0.39/src/eval.cxx:705:9: style: Unused variable: m [unusedVariable] galvani-0.39/src/eval.cxx:864:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] galvani-0.39/src/options.cxx:29:25: style:inconclusive: Technically the member function 'Multimeter::get_baud' can be const. [functionConst] galvani-0.39/src/typedef.h:320:15: note: Technically the member function 'Multimeter::get_baud' can be const. galvani-0.39/src/options.cxx:29:25: note: Technically the member function 'Multimeter::get_baud' can be const. galvani-0.39/src/options.cxx:67:25: style:inconclusive: Technically the member function 'Multimeter::get_charsize' can be const. [functionConst] galvani-0.39/src/typedef.h:321:15: note: Technically the member function 'Multimeter::get_charsize' can be const. galvani-0.39/src/options.cxx:67:25: note: Technically the member function 'Multimeter::get_charsize' can be const. galvani-0.39/src/options.cxx:89:25: style:inconclusive: Technically the member function 'Multimeter::get_flowcontrol' can be const. [functionConst] galvani-0.39/src/typedef.h:322:15: note: Technically the member function 'Multimeter::get_flowcontrol' can be const. galvani-0.39/src/options.cxx:89:25: note: Technically the member function 'Multimeter::get_flowcontrol' can be const. galvani-0.39/src/options.cxx:111:25: style:inconclusive: Technically the member function 'Multimeter::get_stopbits' can be const. [functionConst] galvani-0.39/src/typedef.h:323:15: note: Technically the member function 'Multimeter::get_stopbits' can be const. galvani-0.39/src/options.cxx:111:25: note: Technically the member function 'Multimeter::get_stopbits' can be const. galvani-0.39/src/options.cxx:132:25: style:inconclusive: Technically the member function 'Multimeter::get_parity' can be const. [functionConst] galvani-0.39/src/typedef.h:324:15: note: Technically the member function 'Multimeter::get_parity' can be const. galvani-0.39/src/options.cxx:132:25: note: Technically the member function 'Multimeter::get_parity' can be const. galvani-0.39/src/options.cxx:197:61: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:198:67: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:199:67: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:200:68: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:201:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:204:61: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:205:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:207:68: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:208:74: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:209:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:211:49: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:212:55: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:213:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:257:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:275:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:334:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:345:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:354:49: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:355:46: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:356:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:373:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:374:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:375:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:381:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:411:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:451:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:598:69: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:599:69: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:600:114: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:601:114: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:602:69: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:603:70: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:604:68: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:605:70: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:645:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:647:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:660:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:661:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:665:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:680:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:681:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:732:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:785:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:788:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:790:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:791:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:792:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:797:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:801:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:802:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:806:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:811:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:841:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:845:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:847:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:853:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:863:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:891:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:984:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:984:46: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:993:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:993:51: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:1000:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:1010:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:1015:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:1020:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:1187:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:1211:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:1228:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:1247:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:1306:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:1332:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:1395:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:1430:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:1564:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:1689:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:1691:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:1735:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:1742:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:1761:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:1768:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:1786:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] galvani-0.39/src/options.cxx:1722:4: style: Redundant initialization for 'lc'. The initialized value is overwritten before it is read. [redundantInitialization] galvani-0.39/src/options.cxx:1720:20: note: lc is initialized galvani-0.39/src/options.cxx:1722:4: note: lc is overwritten galvani-0.39/src/options.cxx:250:7: style: The scope of the variable 'dmm_remote' can be reduced. [variableScope] galvani-0.39/src/options.cxx:699:9: style: The scope of the variable 'opt_page' can be reduced. [variableScope] galvani-0.39/src/options.cxx:838:6: style: The scope of the variable 'i' can be reduced. [variableScope] galvani-0.39/src/options.cxx:1048:20: style: The scope of the variable 'ctrl_str' can be reduced. [variableScope] galvani-0.39/src/options.cxx:1049:7: style: The scope of the variable 'dmm_remote' can be reduced. [variableScope] galvani-0.39/src/options.cxx:1301:24: style: The scope of the variable 'line' can be reduced. [variableScope] galvani-0.39/src/options.cxx:1301:30: style: The scope of the variable 'dmm_nm' can be reduced. [variableScope] galvani-0.39/src/options.cxx:1301:38: style: The scope of the variable 'ctrl_str' can be reduced. [variableScope] galvani-0.39/src/options.cxx:1405:6: style: The scope of the variable 'pos' can be reduced. [variableScope] galvani-0.39/src/options.cxx:1551:24: style: The scope of the variable 'line' can be reduced. [variableScope] galvani-0.39/src/options.cxx:1552:14: style: The scope of the variable 'mw_symbol' can be reduced. [variableScope] galvani-0.39/src/options.cxx:1552:25: style: The scope of the variable 'mw_linestyle' can be reduced. [variableScope] galvani-0.39/src/options.cxx:1699:6: style: The scope of the variable 'pos' can be reduced. [variableScope] galvani-0.39/src/options.cxx:1719:9: style: The scope of the variable 'dotpos' can be reduced. [variableScope] galvani-0.39/src/options.cxx:1779:14: style: The scope of the variable 'error_str' can be reduced. [variableScope] galvani-0.39/src/options.cxx:1800:6: style: The scope of the variable 'usb_pos' can be reduced. [variableScope] galvani-0.39/src/options.cxx:1796:27: style: Local variable 'ports' shadows outer variable [shadowVariable] galvani-0.39/src/options.h:183:26: note: Shadowed declaration galvani-0.39/src/options.cxx:1796:27: note: Shadow variable galvani-0.39/src/options.cxx:50:39: performance: Function parameter 'baudrate' should be passed by const reference. [passedByValue] galvani-0.39/src/options.cxx:80:43: performance: Function parameter 'charactersize' should be passed by const reference. [passedByValue] galvani-0.39/src/options.cxx:103:46: performance: Function parameter 'flowcontrol' should be passed by const reference. [passedByValue] galvani-0.39/src/options.cxx:124:43: performance: Function parameter 'stopbits' should be passed by const reference. [passedByValue] galvani-0.39/src/options.cxx:146:41: performance: Function parameter 'parity' should be passed by const reference. [passedByValue] galvani-0.39/src/options.cxx:1029:29: performance: Function parameter 'name' should be passed by const reference. [passedByValue] galvani-0.39/src/options.cxx:1750:28: performance: Function parameter 'num_str' should be passed by const reference. [passedByValue] galvani-0.39/src/options.cxx:1776:30: performance: Function parameter 'num_str' should be passed by const reference. [passedByValue] galvani-0.39/src/options.cxx:1720:16: style: Variable 'lc' can be declared as pointer to const [constVariablePointer] galvani-0.39/src/options.cxx:697:14: style: Unused variable: option [unusedVariable] galvani-0.39/src/options.cxx:699:6: style: Unused variable: i [unusedVariable] galvani-0.39/src/options.cxx:1302:9: style: Unused variable: pos [unusedVariable] galvani-0.39/src/options.cxx:1302:13: style: Unused variable: dotpos [unusedVariable] galvani-0.39/src/options.cxx:1303:6: style: Unused variable: i [unusedVariable] galvani-0.39/src/options.cxx:1553:9: style: Unused variable: pos [unusedVariable] galvani-0.39/src/options.cxx:1553:13: style: Unused variable: dotpos [unusedVariable] galvani-0.39/src/spline.h:471:33: style:inconclusive: Boolean expression 'n_u<0' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] galvani-0.39/src/mess.cxx:321:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] galvani-0.39/src/mess.cxx:587:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] galvani-0.39/src/mess.cxx:1936:24: style: Obsolete function 'std::asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] galvani-0.39/src/mess.cxx:1936:37: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] galvani-0.39/src/mess.cxx:46:13: warning: Member variable 'Multimeter::usb_port' is not initialized in the constructor. [uninitMemberVar] galvani-0.39/src/mess.cxx:46:13: warning: Member variable 'Multimeter::rf' is not initialized in the constructor. [uninitMemberVar] galvani-0.39/src/mess.cxx:46:13: warning: Member variable 'Multimeter::exp_rf' is not initialized in the constructor. [uninitMemberVar] galvani-0.39/src/mess.cxx:46:13: warning: Member variable 'Multimeter::a' is not initialized in the constructor. [uninitMemberVar] galvani-0.39/src/mess.cxx:46:13: warning: Member variable 'Multimeter::k' is not initialized in the constructor. [uninitMemberVar] galvani-0.39/src/mess.cxx:46:13: warning: Member variable 'Multimeter::max_rt' is not initialized in the constructor. [uninitMemberVar] galvani-0.39/src/mess.cxx:46:13: warning: Member variable 'Multimeter::bf' is not initialized in the constructor. [uninitMemberVar] galvani-0.39/src/mess.cxx:46:13: warning: Member variable 'Multimeter::P' is not initialized in the constructor. [uninitMemberVar] galvani-0.39/src/mess.cxx:46:13: warning: Member variable 'Multimeter::rt' is not initialized in the constructor. [uninitMemberVar] galvani-0.39/src/mess.cxx:46:13: warning: Member variable 'Multimeter::b' is not initialized in the constructor. [uninitMemberVar] galvani-0.39/src/mess.cxx:46:13: warning: Member variable 'Multimeter::drift' is not initialized in the constructor. [uninitMemberVar] galvani-0.39/src/mess.cxx:46:13: warning: Member variable 'Multimeter::n' is not initialized in the constructor. [uninitMemberVar] galvani-0.39/src/mess.cxx:46:13: warning: Member variable 'Multimeter::npks' is not initialized in the constructor. [uninitMemberVar] galvani-0.39/src/mess.cxx:46:13: warning: Member variable 'Multimeter::pks1' is not initialized in the constructor. [uninitMemberVar] galvani-0.39/src/mess.cxx:46:13: warning: Member variable 'Multimeter::pks2' is not initialized in the constructor. [uninitMemberVar] galvani-0.39/src/mess.cxx:46:13: warning: Member variable 'Multimeter::pks3' is not initialized in the constructor. [uninitMemberVar] galvani-0.39/src/spline.h:89:5: warning: Member variable 'spline::m_c0' is not initialized in the constructor. [uninitMemberVar] galvani-0.39/src/mess.cxx:48:2: performance: Variable 'dmm_name' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] galvani-0.39/src/mess.cxx:49:2: performance: Variable 'int_face' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] galvani-0.39/src/mess.cxx:51:2: performance: Variable 'dmm_baud' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] galvani-0.39/src/mess.cxx:52:2: performance: Variable 'dmm_charsize' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] galvani-0.39/src/mess.cxx:53:2: performance: Variable 'dmm_flowcontrol' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] galvani-0.39/src/mess.cxx:54:2: performance: Variable 'dmm_stopbits' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] galvani-0.39/src/mess.cxx:55:2: performance: Variable 'dmm_parity' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] galvani-0.39/src/mess.cxx:63:2: performance: Variable 'm_funkt' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] galvani-0.39/src/mess.cxx:1129:15: style:inconclusive: Either there is a missing 'override', or the member function 'Diagramm::scale_x' can be const. [functionConst] galvani-0.39/src/typedef.h:203:6: note: Either there is a missing 'override', or the member function 'Diagramm::scale_x' can be const. galvani-0.39/src/mess.cxx:1129:15: note: Either there is a missing 'override', or the member function 'Diagramm::scale_x' can be const. galvani-0.39/src/mess.cxx:1137:15: style:inconclusive: Either there is a missing 'override', or the member function 'Diagramm::scale_y' can be const. [functionConst] galvani-0.39/src/typedef.h:204:6: note: Either there is a missing 'override', or the member function 'Diagramm::scale_y' can be const. galvani-0.39/src/mess.cxx:1137:15: note: Either there is a missing 'override', or the member function 'Diagramm::scale_y' can be const. galvani-0.39/src/mess.cxx:1161:16: style: Either there is a missing 'override', or the member function 'Diagramm::draw_cross' can be static. [functionStatic] galvani-0.39/src/typedef.h:205:7: note: Either there is a missing 'override', or the member function 'Diagramm::draw_cross' can be static. galvani-0.39/src/mess.cxx:1161:16: note: Either there is a missing 'override', or the member function 'Diagramm::draw_cross' can be static. galvani-0.39/src/mess.cxx:1171:16: style: Either there is a missing 'override', or the member function 'Diagramm::draw_square' can be static. [functionStatic] galvani-0.39/src/typedef.h:206:7: note: Either there is a missing 'override', or the member function 'Diagramm::draw_square' can be static. galvani-0.39/src/mess.cxx:1171:16: note: Either there is a missing 'override', or the member function 'Diagramm::draw_square' can be static. galvani-0.39/src/mess.cxx:1183:16: style: Either there is a missing 'override', or the member function 'Diagramm::draw_diamond' can be static. [functionStatic] galvani-0.39/src/typedef.h:207:7: note: Either there is a missing 'override', or the member function 'Diagramm::draw_diamond' can be static. galvani-0.39/src/mess.cxx:1183:16: note: Either there is a missing 'override', or the member function 'Diagramm::draw_diamond' can be static. galvani-0.39/src/mess.cxx:1195:16: style: Either there is a missing 'override', or the member function 'Diagramm::draw_circle' can be static. [functionStatic] galvani-0.39/src/typedef.h:208:7: note: Either there is a missing 'override', or the member function 'Diagramm::draw_circle' can be static. galvani-0.39/src/mess.cxx:1195:16: note: Either there is a missing 'override', or the member function 'Diagramm::draw_circle' can be static. galvani-0.39/src/mess.cxx:1145:18: style:inconclusive: Either there is a missing 'override', or the member function 'Diagramm::get_xcoord' can be const. [functionConst] galvani-0.39/src/typedef.h:221:9: note: Either there is a missing 'override', or the member function 'Diagramm::get_xcoord' can be const. galvani-0.39/src/mess.cxx:1145:18: note: Either there is a missing 'override', or the member function 'Diagramm::get_xcoord' can be const. galvani-0.39/src/mess.cxx:1153:18: style:inconclusive: Either there is a missing 'override', or the member function 'Diagramm::get_ycoord' can be const. [functionConst] galvani-0.39/src/typedef.h:222:9: note: Either there is a missing 'override', or the member function 'Diagramm::get_ycoord' can be const. galvani-0.39/src/mess.cxx:1153:18: note: Either there is a missing 'override', or the member function 'Diagramm::get_ycoord' can be const. galvani-0.39/src/mess.cxx:1894:23: style: Either there is a missing 'override', or the member function 'Diagramm::downgrade_unit' can be static. [functionStatic] galvani-0.39/src/typedef.h:241:14: note: Either there is a missing 'override', or the member function 'Diagramm::downgrade_unit' can be static. galvani-0.39/src/mess.cxx:1894:23: note: Either there is a missing 'override', or the member function 'Diagramm::downgrade_unit' can be static. galvani-0.39/src/mess.cxx:1855:23: style: Either there is a missing 'override', or the member function 'Diagramm::upgrade_unit' can be static. [functionStatic] galvani-0.39/src/typedef.h:242:14: note: Either there is a missing 'override', or the member function 'Diagramm::upgrade_unit' can be static. galvani-0.39/src/mess.cxx:1855:23: note: Either there is a missing 'override', or the member function 'Diagramm::upgrade_unit' can be static. galvani-0.39/src/mess.cxx:822:22: style: The member function 'Multimeter::get_std_unit' can be static. [functionStatic] galvani-0.39/src/typedef.h:315:12: note: The member function 'Multimeter::get_std_unit' can be static. galvani-0.39/src/mess.cxx:822:22: note: The member function 'Multimeter::get_std_unit' can be static. galvani-0.39/src/mess.cxx:458:22: style: The member function 'Multimeter::get_mwert_dmm' can be static. [functionStatic] galvani-0.39/src/typedef.h:316:12: note: The member function 'Multimeter::get_mwert_dmm' can be static. galvani-0.39/src/mess.cxx:458:22: note: The member function 'Multimeter::get_mwert_dmm' can be static. galvani-0.39/src/mess.cxx:609:22: style:inconclusive: Technically the member function 'Multimeter::get_mwert_impo_dmi4' can be const. [functionConst] galvani-0.39/src/typedef.h:317:12: note: Technically the member function 'Multimeter::get_mwert_impo_dmi4' can be const. galvani-0.39/src/mess.cxx:609:22: note: Technically the member function 'Multimeter::get_mwert_impo_dmi4' can be const. galvani-0.39/src/mess.cxx:97:25: style:inconclusive: Technically the member function 'Multimeter::get_ctrlstr' can be const. [functionConst] galvani-0.39/src/typedef.h:332:15: note: Technically the member function 'Multimeter::get_ctrlstr' can be const. galvani-0.39/src/mess.cxx:97:25: note: Technically the member function 'Multimeter::get_ctrlstr' can be const. galvani-0.39/src/mess.cxx:411:18: style:inconclusive: Technically the member function 'Multimeter::set_tit_data' can be const. [functionConst] galvani-0.39/src/typedef.h:333:8: note: Technically the member function 'Multimeter::set_tit_data' can be const. galvani-0.39/src/mess.cxx:411:18: note: Technically the member function 'Multimeter::set_tit_data' can be const. galvani-0.39/src/mess.cxx:111:17: style: The member function 'Multimeter::random_nr' can be static. [functionStatic] galvani-0.39/src/typedef.h:340:7: note: The member function 'Multimeter::random_nr' can be static. galvani-0.39/src/mess.cxx:111:17: note: The member function 'Multimeter::random_nr' can be static. galvani-0.39/src/mess.cxx:394:20: style: The member function 'Multimeter::sim_ph' can be static. [functionStatic] galvani-0.39/src/typedef.h:343:10: note: The member function 'Multimeter::sim_ph' can be static. galvani-0.39/src/mess.cxx:394:20: note: The member function 'Multimeter::sim_ph' can be static. galvani-0.39/src/mess.cxx:443:20: style:inconclusive: Technically the member function 'Multimeter::sim_peak' can be const. [functionConst] galvani-0.39/src/typedef.h:344:10: note: Technically the member function 'Multimeter::sim_peak' can be const. galvani-0.39/src/mess.cxx:443:20: note: Technically the member function 'Multimeter::sim_peak' can be const. galvani-0.39/src/spline.h:95:5: style: Class 'spline' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] galvani-0.39/src/spline.h:134:26: performance: Function 'get_xy()' should return member 'm_xy' by const reference. [returnByReference] galvani-0.39/src/spline.h:764:26: style: Condition 'i=0' is not redundant galvani-0.39/src/spline.h:764:26: note: Condition 'i=0' is redundant or size of 'z' can be -1. Expression 'z[0]' causes access out of bounds. [containerOutOfBounds] galvani-0.39/src/spline.h:761:22: note: Assuming that condition 'z.size()>=0' is not redundant galvani-0.39/src/spline.h:762:27: note: Access out of bounds galvani-0.39/src/mess.cxx:624:15: warning: Either the condition 'i<=mwert.length()' is redundant or 'i' can have the value mwert.size(). Expression 'mwert.at(i)' causes access out of bounds. [containerOutOfBounds] galvani-0.39/src/mess.cxx:622:10: note: Assuming that condition 'i<=mwert.length()' is not redundant galvani-0.39/src/mess.cxx:624:15: note: Access out of bounds galvani-0.39/src/mess.cxx:631:15: warning: Either the condition 'i<=mwert.length()' is redundant or 'i' can have the value mwert.size(). Expression 'mwert.at(i)' causes access out of bounds. [containerOutOfBounds] galvani-0.39/src/mess.cxx:629:10: note: Assuming that condition 'i<=mwert.length()' is not redundant galvani-0.39/src/mess.cxx:631:15: note: Access out of bounds galvani-0.39/src/spline.h:325:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] galvani-0.39/src/mess.cxx:624:12: error: When i==mwert.size(), mwert.at(i) is out of bounds. [stlOutOfBounds] galvani-0.39/src/mess.cxx:631:12: error: When i==mwert.size(), mwert.at(i) is out of bounds. [stlOutOfBounds] galvani-0.39/src/spline.h:772:22: warning: Either the condition 'z.size()>=0' is redundant or size of 'z' can be -1. Expression 'z.begin()' causes access out of bounds. [containerOutOfBounds] galvani-0.39/src/spline.h:761:22: note: Assuming that condition 'z.size()>=0' is not redundant galvani-0.39/src/spline.h:772:22: note: Access out of bounds galvani-0.39/src/mess.cxx:406:15: warning: Uninitialized variable: val.y [uninitvar] galvani-0.39/src/mess.cxx:400:10: note: Assuming condition is false galvani-0.39/src/mess.cxx:406:15: note: Uninitialized variable: val.y galvani-0.39/src/mess.cxx:492:28: warning: Uninitialized variable: digit_end [uninitvar] galvani-0.39/src/mess.cxx:482:23: note: Assuming condition is false galvani-0.39/src/mess.cxx:492:28: note: Uninitialized variable: digit_end galvani-0.39/src/mess.cxx:819:9: warning: Uninitialized variable: messw.digits [uninitvar] galvani-0.39/src/mess.cxx:817:22: note: Assuming condition is false galvani-0.39/src/mess.cxx:819:9: note: Uninitialized variable: messw.digits galvani-0.39/src/mess.cxx:819:9: error: Uninitialized struct member: messw.digits [uninitStructMember] galvani-0.39/src/mess.cxx:140:14: style: Variable 'mstr' is assigned a value that is never used. [unreadVariable] galvani-0.39/src/mess.cxx:140:23: style: Unused variable: error_str [unusedVariable] galvani-0.39/src/mess.cxx:250:14: style: Variable 'result' is assigned a value that is never used. [unreadVariable] galvani-0.39/src/mess.cxx:641:8: style: Variable 'mval3' is assigned a value that is never used. [unreadVariable] galvani-0.39/src/mess.cxx:613:7: style: Unused variable: prefix [unusedVariable] galvani-0.39/src/mess.cxx:1073:15: style: Unused variable: exp [unusedVariable] galvani-0.39/src/mess.cxx:1751:25: style: Unused variable: ex [unusedVariable] galvani-0.39/src/mess.cxx:1752:6: style: Unused variable: n [unusedVariable] galvani-0.39/src/mess.cxx:1972:13: style: Variable 'function_y' is assigned a value that is never used. [unreadVariable] galvani-0.39/src/mess.cxx:2144:14: style: Unused variable: dmm_typ [unusedVariable] galvani-0.39/src/mess.cxx:2508:14: style: Variable 'xmval.unit' is assigned a value that is never used. [unreadVariable] diff: DONE