2024-03-28 05:03 ftp://ftp.de.debian.org/debian/pool/main/m/mate-calc/mate-calc_1.26.0.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 -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-18-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.55 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.13.0 head-info: 98951f5 (2024-03-27 21:50:05 +0100) count: 224 132 elapsed-time: 1.2 5.6 head-timing-info: old-timing-info: head results: mate-calc-1.26.0/src/currency.c:70:50: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/currency.c:87:36: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/currency-manager.c:217:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/currency-manager.c:527:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/financial.c:18:34: style: Parameter 'pint' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:18:50: style: Parameter 'fv' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:18:64: style: Parameter 'pv' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:46:57: style: Parameter 'cost' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:46:73: style: Parameter 'life' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:46:89: style: Parameter 'period' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:90:32: style: Parameter 'pmt' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:90:47: style: Parameter 'pint' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:90:63: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:119:33: style: Parameter 'cost' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:119:49: style: Parameter 'margin' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:141:33: style: Parameter 'prin' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:141:49: style: Parameter 'pint' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:141:65: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:172:32: style: Parameter 'pmt' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:172:47: style: Parameter 'pint' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:172:63: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:203:34: style: Parameter 'fv' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:203:48: style: Parameter 'pv' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:203:62: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:232:33: style: Parameter 'cost' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:232:49: style: Parameter 'salvage' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:232:68: style: Parameter 'life' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:250:33: style: Parameter 'cost' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:250:49: style: Parameter 'salvage' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:250:68: style: Parameter 'life' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:250:84: style: Parameter 'period' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:285:34: style: Parameter 'pmt' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:285:49: style: Parameter 'fv' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/financial.c:285:63: style: Parameter 'pint' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/mate-calc-cmd.c:41:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mate-calc-cmd.c:77:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mate-calc-cmd.c:72:22: style: Variable 'line' can be declared as pointer to const [constVariablePointer] mate-calc-1.26.0/src/currency-manager.c:144:48: style: Parameter 'manager' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/currency-manager.c:293:7: style: Variable 'name_map' can be declared as const array [constVariable] mate-calc-1.26.0/src/currency-manager.c:365:16: style: Variable 'line' can be declared as pointer to const [constVariablePointer] mate-calc-1.26.0/src/currency-manager.c:386:24: style: Variable 'value' can be declared as pointer to const [constVariablePointer] mate-calc-1.26.0/src/currency-manager.c:616:51: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/mate-calc.c:36:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mate-calc.c:63:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mate-calc.c:84:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mate-calc.c:165:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mate-calc.c:207:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-buttons.c:408:43: error: There is an unknown macro here somewhere. Configuration is required. If G_GINT64_MODIFIER is a macro then please configure it. [unknownMacro] mate-calc-1.26.0/src/mate-calc.c:53:11: style: Variable 'result_str' can be declared as pointer to const [constVariablePointer] mate-calc-1.26.0/src/mate-calc.c:131:22: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] mate-calc-1.26.0/src/mate-calc.c:190:21: style: Parameter 'win' can be declared as pointer to const. However it seems that 'quit_cb' is a callback function, if 'win' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mate-calc-1.26.0/src/mate-calc.c:254:5: note: You might need to cast the function pointer here mate-calc-1.26.0/src/mate-calc.c:190:21: note: Parameter 'win' can be declared as pointer to const mate-calc-1.26.0/src/math-display.c:71:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_KP_Decimal [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-display.c:332:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_STYLE_NORMAL [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-display.c:365:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ORIENTATION_VERTICAL [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-display.c:475:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-converter.c:398:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ORIENTATION_HORIZONTAL [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-display.c:47:46: style: Parameter 'equation' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/math-display.c:422:41: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'math_display_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mate-calc-1.26.0/src/math-display.c:467:34: note: You might need to cast the function pointer here mate-calc-1.26.0/src/math-display.c:422:41: note: Parameter 'pspec' can be declared as pointer to const mate-calc-1.26.0/src/math-display.c:444:39: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'math_display_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mate-calc-1.26.0/src/math-display.c:466:34: note: You might need to cast the function pointer here mate-calc-1.26.0/src/math-display.c:444:39: note: Parameter 'pspec' can be declared as pointer to const mate-calc-1.26.0/src/lexer.c:533:17: style: Variable 'token' can be declared as pointer to const [constVariablePointer] mate-calc-1.26.0/src/lexer.c:125:18: style: Variable 'type' is assigned a value that is never used. [unreadVariable] mate-calc-1.26.0/src/math-converter.c:199:60: style: Parameter 'unit' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/math-converter.c:292:47: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/math-history-entry.c:111:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable math_history_entry_parent_class [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-history-entry.c:63:99: style: Parameter 'answer' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/math-history.c:86:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-history.c:118:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-history.c:143:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_IN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-history.c:124:43: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/math-equation.c:427:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_NONE [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-equation.c:445:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_NONE [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-equation.c:1538:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT64 [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-equation.c:1700:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable constructed [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-equation.c:1740:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-preferences.c:243:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CLOSE [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-preferences.c:396:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-variables.c:81:19: debug: Scope::checkVariable found variable 'val' with varid 0. [varid0] mate-calc-1.26.0/src/math-variables.c:81:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable val [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-variable-popup.c:62:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_space [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-variable-popup.c:136:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ORIENTATION_HORIZONTAL [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-variable-popup.c:216:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ORIENTATION_HORIZONTAL [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-variable-popup.c:287:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-variable-popup.c:304:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ORIENTATION_VERTICAL [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-variable-popup.c:33:39: style: Parameter 'equation' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/math-variable-popup.c:192:48: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'math_variable_popup_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mate-calc-1.26.0/src/math-variable-popup.c:279:34: note: You might need to cast the function pointer here mate-calc-1.26.0/src/math-variable-popup.c:192:48: note: Parameter 'pspec' can be declared as pointer to const mate-calc-1.26.0/src/math-variable-popup.c:207:23: style: Variable 'aux' can be declared as pointer to const [constVariablePointer] mate-calc-1.26.0/src/math-variable-popup.c:256:46: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'math_variable_popup_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mate-calc-1.26.0/src/math-variable-popup.c:278:34: note: You might need to cast the function pointer here mate-calc-1.26.0/src/math-variable-popup.c:256:46: note: Parameter 'pspec' can be declared as pointer to const mate-calc-1.26.0/src/math-preferences.c:37:43: style: Parameter 'equation' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/math-preferences.c:343:45: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'math_preferences_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mate-calc-1.26.0/src/math-preferences.c:388:34: note: You might need to cast the function pointer here mate-calc-1.26.0/src/math-preferences.c:343:45: note: Parameter 'pspec' can be declared as pointer to const mate-calc-1.26.0/src/math-preferences.c:365:43: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'math_preferences_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mate-calc-1.26.0/src/math-preferences.c:387:34: note: You might need to cast the function pointer here mate-calc-1.26.0/src/math-preferences.c:365:43: note: Parameter 'pspec' can be declared as pointer to const mate-calc-1.26.0/src/math-preferences.c:161:15: style: Variable 'valid' is assigned a value that is never used. [unreadVariable] mate-calc-1.26.0/src/math-variables.c:94:16: style: Variable 'name' can be declared as pointer to const [constVariablePointer] mate-calc-1.26.0/src/math-variables.c:95:19: style: Variable 'value' can be declared as pointer to const [constVariablePointer] mate-calc-1.26.0/src/math-variables.c:169:48: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/math-window.c:210:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_MOD1_MASK [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-window.c:296:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-window.c:343:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_RESOURCE_LOOKUP_FLAGS_NONE [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-window.c:492:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ORIENTATION_HORIZONTAL [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-window.c:580:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_F1 [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-window.c:590:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ORIENTATION_VERTICAL [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-window.c:697:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-convert.c:24:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-convert.c:31:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-convert.c:38:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-convert.c:45:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-convert.c:82:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-convert.c:94:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-convert.c:101:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-convert.c:107:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-convert.c:113:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/math-window.c:71:31: style: Parameter 'equation' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/math-window.c:390:58: style: Parameter 'window' can be declared as pointer to const. However it seems that 'scroll_changed_cb' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mate-calc-1.26.0/src/math-window.c:617:5: note: You might need to cast the function pointer here mate-calc-1.26.0/src/math-window.c:390:58: note: Parameter 'window' can be declared as pointer to const mate-calc-1.26.0/src/math-window.c:638:40: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'math_window_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mate-calc-1.26.0/src/math-window.c:689:34: note: You might need to cast the function pointer here mate-calc-1.26.0/src/math-window.c:638:40: note: Parameter 'pspec' can be declared as pointer to const mate-calc-1.26.0/src/math-window.c:663:38: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'math_window_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mate-calc-1.26.0/src/math-window.c:688:34: note: You might need to cast the function pointer here mate-calc-1.26.0/src/math-window.c:663:38: note: Parameter 'pspec' can be declared as pointer to const mate-calc-1.26.0/src/math-equation.c:2014:13: style: Condition 'use_default_digits' is always true [knownConditionTrueFalse] mate-calc-1.26.0/src/math-equation.c:2002:35: note: Assignment 'use_default_digits=!0', assigned value is 1 mate-calc-1.26.0/src/math-equation.c:2014:13: note: Condition 'use_default_digits' is always true mate-calc-1.26.0/src/math-equation.c:1364:5: error: Return value of allocation function 'g_thread_new' is not stored. [leakReturnValNotUsed] mate-calc-1.26.0/src/math-equation.c:1450:5: error: Return value of allocation function 'g_thread_new' is not stored. [leakReturnValNotUsed] mate-calc-1.26.0/src/math-equation.c:645:67: style:inconclusive: Function 'math_equation_set_angle_units' argument 2 names different: declaration 'angle_unit' definition 'angle_units'. [funcArgNamesDifferent] mate-calc-1.26.0/src/math-equation.h:84:72: note: Function 'math_equation_set_angle_units' argument 2 names different: declaration 'angle_unit' definition 'angle_units'. mate-calc-1.26.0/src/math-equation.c:645:67: note: Function 'math_equation_set_angle_units' argument 2 names different: declaration 'angle_unit' definition 'angle_units'. mate-calc-1.26.0/src/math-equation.c:1157:15: style: Variable 't' can be declared as pointer to const [constVariablePointer] mate-calc-1.26.0/src/math-equation.c:1375:31: style: Variable 'next_factor' can be declared as pointer to const [constVariablePointer] mate-calc-1.26.0/src/math-equation.c:1568:42: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'math_equation_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mate-calc-1.26.0/src/math-equation.c:1727:34: note: You might need to cast the function pointer here mate-calc-1.26.0/src/math-equation.c:1568:42: note: Parameter 'pspec' can be declared as pointer to const mate-calc-1.26.0/src/math-equation.c:1628:40: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'math_equation_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mate-calc-1.26.0/src/math-equation.c:1726:34: note: You might need to cast the function pointer here mate-calc-1.26.0/src/math-equation.c:1628:40: note: Parameter 'pspec' can be declared as pointer to const mate-calc-1.26.0/src/math-equation.c:1958:31: style: Parameter 'text' can be declared as pointer to const. However it seems that 'insert_text_cb' is a callback function, if 'text' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mate-calc-1.26.0/src/math-equation.c:2009:5: note: You might need to cast the function pointer here mate-calc-1.26.0/src/math-equation.c:1958:31: note: Parameter 'text' can be declared as pointer to const mate-calc-1.26.0/src/mp-serializer.c:611:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-serializer.c:643:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RADIXCHAR [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-trigonometric.c:41:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-trigonometric.c:68:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-trigonometric.c:78:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-trigonometric.c:90:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-trigonometric.c:101:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-trigonometric.c:132:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-trigonometric.c:156:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-trigonometric.c:181:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-trigonometric.c:194:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-trigonometric.c:218:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-trigonometric.c:225:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-trigonometric.c:232:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-trigonometric.c:239:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-trigonometric.c:259:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-trigonometric.c:281:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-convert.c:175:31: error: Array 'digits[0][10]' accessed at index digits[*][10], which is out of bounds. [arrayIndexOutOfBounds] mate-calc-1.26.0/src/mp-convert.c:165:13: note: After for loop, j has value 10 mate-calc-1.26.0/src/mp-convert.c:164:30: note: Assuming condition is false mate-calc-1.26.0/src/mp-convert.c:175:31: note: Array index out of bounds mate-calc-1.26.0/src/mp-convert.c:207:17: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] mate-calc-1.26.0/src/mp-convert.c:326:20: style: The comparison 'multiplier != 0' is always false. [knownConditionTrueFalse] mate-calc-1.26.0/src/mp-convert.c:232:43: note: 'multiplier' is assigned value '0' here. mate-calc-1.26.0/src/mp-convert.c:326:20: note: The comparison 'multiplier != 0' is always false. mate-calc-1.26.0/src/mp-convert.c:29:27: style:inconclusive: Function 'mp_set_from_double' argument 1 names different: declaration 'x' definition 'dx'. [funcArgNamesDifferent] mate-calc-1.26.0/src/mp.h:233:34: note: Function 'mp_set_from_double' argument 1 names different: declaration 'x' definition 'dx'. mate-calc-1.26.0/src/mp-convert.c:29:27: note: Function 'mp_set_from_double' argument 1 names different: declaration 'x' definition 'dx'. mate-calc-1.26.0/src/mp-convert.c:230:32: style:inconclusive: Function 'mp_set_from_string' argument 1 names different: declaration 'text' definition 'str'. [funcArgNamesDifferent] mate-calc-1.26.0/src/mp.h:256:39: note: Function 'mp_set_from_string' argument 1 names different: declaration 'text' definition 'str'. mate-calc-1.26.0/src/mp-convert.c:230:32: note: Function 'mp_set_from_string' argument 1 names different: declaration 'text' definition 'str'. mate-calc-1.26.0/src/mp-convert.c:238:9: style: Variable 'numerators' can be declared as const array [constVariable] mate-calc-1.26.0/src/mp-convert.c:239:9: style: Variable 'denominators' can be declared as const array [constVariable] mate-calc-1.26.0/src/mp.c:66:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:99:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:107:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:113:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:128:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:141:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:147:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:153:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:159:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:165:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:171:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:177:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:183:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:190:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:206:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:213:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:220:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:240:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:296:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:357:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:388:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:394:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:400:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:408:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:420:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:466:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:593:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:607:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:620:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp.c:638:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/parser.c:15:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_ADD [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/parser.c:255:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_ASSIGN [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/parser.c:374:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_VARIABLE [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/parser.c:544:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_VARIABLE [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/parser.c:591:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PL_EOS [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/parser.c:802:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_L_R_BRACKET [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/parser.c:1051:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_FUNCTION [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/parser.c:1167:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_VARIABLE [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/parser.c:1212:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PL_EOS [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/mp-serializer.c:228:38: style: Condition 'strcmp(s->str,"+0")==0' is always false [knownConditionTrueFalse] mate-calc-1.26.0/src/mp-serializer.c:376:38: style: Condition 'strcmp(s->str,"+0")==0' is always false [knownConditionTrueFalse] mate-calc-1.26.0/src/mp-serializer.c:397:67: style:inconclusive: Function 'mp_serializer_to_string' argument 2 names different: declaration 'z' definition 'x'. [funcArgNamesDifferent] mate-calc-1.26.0/src/mp-serializer.h:48:74: note: Function 'mp_serializer_to_string' argument 2 names different: declaration 'z' definition 'x'. mate-calc-1.26.0/src/mp-serializer.c:397:67: note: Function 'mp_serializer_to_string' argument 2 names different: declaration 'z' definition 'x'. mate-calc-1.26.0/src/mp-serializer.c:423:41: style: Parameter 'serializer' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/mp-serializer.c:552:40: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'mp_serializer_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mate-calc-1.26.0/src/mp-serializer.c:603:34: note: You might need to cast the function pointer here mate-calc-1.26.0/src/mp-serializer.c:552:40: note: Parameter 'pspec' can be declared as pointer to const mate-calc-1.26.0/src/mp-serializer.c:577:40: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'mp_serializer_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mate-calc-1.26.0/src/mp-serializer.c:602:34: note: You might need to cast the function pointer here mate-calc-1.26.0/src/mp-serializer.c:577:40: note: Parameter 'pspec' can be declared as pointer to const mate-calc-1.26.0/src/prelexer.c:36:12: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] mate-calc-1.26.0/src/parserfunc.c:20:20: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/mp.c:597:42: style:inconclusive: Function 'mp_xpowy_integer' argument 2 names different: declaration 'y' definition 'n'. [funcArgNamesDifferent] mate-calc-1.26.0/src/mp.h:216:49: note: Function 'mp_xpowy_integer' argument 2 names different: declaration 'y' definition 'n'. mate-calc-1.26.0/src/mp.c:597:42: note: Function 'mp_xpowy_integer' argument 2 names different: declaration 'y' definition 'n'. mate-calc-1.26.0/src/mp.c:659:24: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/test-mp-equation.c:790:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/test-mp.c:60:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/test-mp.c:226:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] mate-calc-1.26.0/src/unit-category.c:62:46: style: Parameter 'category' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/unit-category.c:81:48: style: Parameter 'category' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/unit-category.c:107:37: style: Parameter 'category' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/unit-category.c:131:45: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/parser.c:73:34: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/parser.c:80:34: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/parser.c:106:24: style: Parameter 'left' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/parser.c:106:41: style: Parameter 'right' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/parser.c:250:17: style: Variable 'token' can be declared as pointer to const [constVariablePointer] mate-calc-1.26.0/src/parser.c:1208:17: style: Variable 'token' can be declared as pointer to const [constVariablePointer] mate-calc-1.26.0/src/unit-manager.c:175:40: style: Parameter 'manager' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/unit-manager.c:193:44: style: Parameter 'manager' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/unit-manager.c:213:46: style: Parameter 'manager' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/unit-manager.c:233:45: style: Parameter 'manager' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/unit-manager.c:258:43: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/unit.c:76:27: style: Parameter 'unit' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/unit.c:84:16: style: Variable 's' can be declared as pointer to const [constVariablePointer] mate-calc-1.26.0/src/unit.c:102:45: style: Parameter 'data' can be declared as pointer to const. However it seems that 'variable_is_defined' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mate-calc-1.26.0/src/unit.c:126:35: note: You might need to cast the function pointer here mate-calc-1.26.0/src/unit.c:102:45: note: Parameter 'data' can be declared as pointer to const mate-calc-1.26.0/src/unit.c:111:15: style: Variable 'x' can be declared as pointer to const [constVariablePointer] mate-calc-1.26.0/src/unit.c:140:25: style: Parameter 'unit' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/unit.c:162:23: style: Parameter 'unit' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/unit.c:184:35: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/unit.c:200:28: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] mate-calc-1.26.0/src/test-mp-equation.c:268:45: style: Parameter 'data' can be declared as pointer to const. However it seems that 'variable_is_defined' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mate-calc-1.26.0/src/test-mp-equation.c:300:35: note: You might need to cast the function pointer here mate-calc-1.26.0/src/test-mp-equation.c:268:45: note: Parameter 'data' can be declared as pointer to const mate-calc-1.26.0/src/test-mp-equation.c:290:57: style: Parameter 'data' can be declared as pointer to const. However it seems that 'set_variable' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mate-calc-1.26.0/src/test-mp-equation.c:302:28: note: You might need to cast the function pointer here mate-calc-1.26.0/src/test-mp-equation.c:290:57: note: Parameter 'data' can be declared as pointer to const diff: head mate-calc-1.26.0/src/currency-manager.c:527:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/currency.c:87:36: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.13.0 mate-calc-1.26.0/src/lexer.c:16:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mate-calc-cmd.c:77:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mate-calc.c:165:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mate-calc.c:190:21: style: Parameter 'win' can be declared as pointer to const. However it seems that 'quit_cb' is a callback function, if 'win' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mate-calc-1.26.0/src/mate-calc.c:254:5: note: You might need to cast the function pointer here mate-calc-1.26.0/src/mate-calc.c:190:21: note: Parameter 'win' can be declared as pointer to const head mate-calc-1.26.0/src/mate-calc.c:207:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mate-calc.c:63:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mate-calc.c:84:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-converter.c:199:60: style: Parameter 'unit' can be declared as pointer to const [constParameterPointer] head mate-calc-1.26.0/src/math-converter.c:398:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ORIENTATION_HORIZONTAL [valueFlowBailoutIncompleteVar] 2.13.0 mate-calc-1.26.0/src/math-converter.c:63:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-display.c:332:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_STYLE_NORMAL [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-display.c:365:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ORIENTATION_VERTICAL [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-display.c:475:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] 2.13.0 mate-calc-1.26.0/src/math-equation.c:150:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-equation.c:1538:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT64 [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-equation.c:1700:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable constructed [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-equation.c:1740:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-equation.c:2014:13: style: Condition 'use_default_digits' is always true [knownConditionTrueFalse] mate-calc-1.26.0/src/math-equation.c:2002:35: note: Assignment 'use_default_digits=!0', assigned value is 1 mate-calc-1.26.0/src/math-equation.c:2014:13: note: Condition 'use_default_digits' is always true head mate-calc-1.26.0/src/math-equation.c:427:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_NONE [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-equation.c:445:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_NONE [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-history.c:118:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-history.c:143:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_IN [valueFlowBailoutIncompleteVar] 2.13.0 mate-calc-1.26.0/src/math-history.c:67:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-history.c:86:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-preferences.c:243:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CLOSE [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-preferences.c:396:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] 2.13.0 mate-calc-1.26.0/src/math-preferences.c:54:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-variable-popup.c:136:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ORIENTATION_HORIZONTAL [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-variable-popup.c:216:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ORIENTATION_HORIZONTAL [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-variable-popup.c:287:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-variable-popup.c:304:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ORIENTATION_VERTICAL [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-variables.c:169:48: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.13.0 mate-calc-1.26.0/src/math-window.c:108:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-window.c:210:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_MOD1_MASK [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-window.c:296:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-window.c:343:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_RESOURCE_LOOKUP_FLAGS_NONE [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-window.c:492:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ORIENTATION_HORIZONTAL [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-window.c:580:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_F1 [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-window.c:590:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ORIENTATION_VERTICAL [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/math-window.c:697:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp-convert.c:101:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp-convert.c:107:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp-convert.c:113:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp-convert.c:31:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp-convert.c:38:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp-convert.c:45:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp-convert.c:82:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp-convert.c:94:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] 2.13.0 mate-calc-1.26.0/src/mp-serializer.c:194:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.13.0 mate-calc-1.26.0/src/mp-serializer.c:230:42: style: Condition 'strcmp(s->str,"0")!=0' is always true [knownConditionTrueFalse] 2.13.0 mate-calc-1.26.0/src/mp-serializer.c:378:42: style: Condition 'strcmp(s->str,"0")!=0' is always true [knownConditionTrueFalse] head mate-calc-1.26.0/src/mp-serializer.c:611:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp-serializer.c:643:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RADIXCHAR [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp-trigonometric.c:101:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp-trigonometric.c:132:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp-trigonometric.c:156:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp-trigonometric.c:181:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp-trigonometric.c:194:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp-trigonometric.c:218:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp-trigonometric.c:225:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp-trigonometric.c:232:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp-trigonometric.c:239:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp-trigonometric.c:259:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp-trigonometric.c:281:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp-trigonometric.c:68:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp-trigonometric.c:78:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp-trigonometric.c:90:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:107:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:113:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:128:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:141:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:147:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:153:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:159:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:165:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:171:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:177:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:183:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:190:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:206:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:213:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:220:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:240:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:296:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:357:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:388:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:394:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:400:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:408:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:420:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:466:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:593:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:607:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPC_RNDNN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:620:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:638:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/mp.c:99:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/parser.c:1051:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_FUNCTION [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/parser.c:1167:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_VARIABLE [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/parser.c:1212:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PL_EOS [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/parser.c:255:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_ASSIGN [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/parser.c:374:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_VARIABLE [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/parser.c:544:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_VARIABLE [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/parser.c:591:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PL_EOS [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/parser.c:802:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_L_R_BRACKET [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/parserfunc.c:20:20: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] 2.13.0 mate-calc-1.26.0/src/prelexer.c:84:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/test-mp-equation.c:268:45: style: Parameter 'data' can be declared as pointer to const. However it seems that 'variable_is_defined' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mate-calc-1.26.0/src/test-mp-equation.c:300:35: note: You might need to cast the function pointer here mate-calc-1.26.0/src/test-mp-equation.c:268:45: note: Parameter 'data' can be declared as pointer to const head mate-calc-1.26.0/src/test-mp-equation.c:290:57: style: Parameter 'data' can be declared as pointer to const. However it seems that 'set_variable' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mate-calc-1.26.0/src/test-mp-equation.c:302:28: note: You might need to cast the function pointer here mate-calc-1.26.0/src/test-mp-equation.c:290:57: note: Parameter 'data' can be declared as pointer to const head mate-calc-1.26.0/src/test-mp.c:226:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] 2.13.0 mate-calc-1.26.0/src/unit-category.c:109:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/unit-category.c:131:45: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.13.0 mate-calc-1.26.0/src/unit-manager.c:237:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head mate-calc-1.26.0/src/unit-manager.c:258:43: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] head mate-calc-1.26.0/src/unit.c:102:45: style: Parameter 'data' can be declared as pointer to const. However it seems that 'variable_is_defined' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mate-calc-1.26.0/src/unit.c:126:35: note: You might need to cast the function pointer here mate-calc-1.26.0/src/unit.c:102:45: note: Parameter 'data' can be declared as pointer to const head mate-calc-1.26.0/src/unit.c:200:28: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.13.0 mate-calc-1.26.0/src/unit.c:80:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] DONE