LineIdCWESeverityMessageTimestamp
checkersReportinformationActive checkers: There was critical errors (use --checkers-report=<filename> to see details)Sun Aug 17 11:38:18 2025
src/cafe-calc-cmd.c
84constVariablePointer398styleVariable 'line' can be declared as pointer to constSun Aug 17 11:38:18 2025
87nullPointerOutOfMemory476warningIf memory allocation fails, then there is a possible null pointer dereference: equationSun Aug 17 11:38:18 2025
92nullPointerOutOfMemory476warningIf memory allocation fails, then there is a possible null pointer dereference: equationSun Aug 17 11:38:18 2025
src/cafe-calc.c
70constVariablePointer398styleVariable 'result_str' can be declared as pointer to constSun Aug 17 11:38:18 2025
130constVariablePointer398styleVariable 'arg' can be declared as pointer to constSun Aug 17 11:38:18 2025
src/currency-manager.c
144constParameterPointer398styleParameter 'manager' can be declared as pointer to constSun Aug 17 11:38:18 2025
144staticFunctionstyleThe function 'currency_manager_get_currency' should have static linkage since it is not used outside of its translation unit.Sun Aug 17 11:38:18 2025
386constVariablePointer398styleVariable 'value' can be declared as pointer to constSun Aug 17 11:38:18 2025
src/currency.c
69constParameterPointer398styleParameter 'value' can be declared as pointer to constSun Aug 17 11:38:18 2025
src/financial.c
20constParameterPointer398styleParameter 'pint' can be declared as pointer to constSun Aug 17 11:38:18 2025
21constParameterPointer398styleParameter 'fv' can be declared as pointer to constSun Aug 17 11:38:18 2025
22constParameterPointer398styleParameter 'pv' can be declared as pointer to constSun Aug 17 11:38:18 2025
42constParameterPointer398styleParameter 'cost' can be declared as pointer to constSun Aug 17 11:38:18 2025
42constParameterPointer398styleParameter 'life' can be declared as pointer to constSun Aug 17 11:38:18 2025
42constParameterPointer398styleParameter 'period' can be declared as pointer to constSun Aug 17 11:38:18 2025
83constParameterPointer398styleParameter 'pmt' can be declared as pointer to constSun Aug 17 11:38:18 2025
84constParameterPointer398styleParameter 'pint' can be declared as pointer to constSun Aug 17 11:38:18 2025
85constParameterPointer398styleParameter 'n' can be declared as pointer to constSun Aug 17 11:38:18 2025
108constParameterPointer398styleParameter 'cost' can be declared as pointer to constSun Aug 17 11:38:18 2025
109constParameterPointer398styleParameter 'margin' can be declared as pointer to constSun Aug 17 11:38:18 2025
129constParameterPointer398styleParameter 'prin' can be declared as pointer to constSun Aug 17 11:38:18 2025
130constParameterPointer398styleParameter 'pint' can be declared as pointer to constSun Aug 17 11:38:18 2025
131constParameterPointer398styleParameter 'n' can be declared as pointer to constSun Aug 17 11:38:18 2025
156constParameterPointer398styleParameter 'pmt' can be declared as pointer to constSun Aug 17 11:38:18 2025
157constParameterPointer398styleParameter 'pint' can be declared as pointer to constSun Aug 17 11:38:18 2025
158constParameterPointer398styleParameter 'n' can be declared as pointer to constSun Aug 17 11:38:18 2025
183constParameterPointer398styleParameter 'fv' can be declared as pointer to constSun Aug 17 11:38:18 2025
184constParameterPointer398styleParameter 'pv' can be declared as pointer to constSun Aug 17 11:38:18 2025
185constParameterPointer398styleParameter 'n' can be declared as pointer to constSun Aug 17 11:38:18 2025
208constParameterPointer398styleParameter 'cost' can be declared as pointer to constSun Aug 17 11:38:18 2025
209constParameterPointer398styleParameter 'salvage' can be declared as pointer to constSun Aug 17 11:38:18 2025
210constParameterPointer398styleParameter 'life' can be declared as pointer to constSun Aug 17 11:38:18 2025
229constParameterPointer398styleParameter 'cost' can be declared as pointer to constSun Aug 17 11:38:18 2025
230constParameterPointer398styleParameter 'salvage' can be declared as pointer to constSun Aug 17 11:38:18 2025
231constParameterPointer398styleParameter 'life' can be declared as pointer to constSun Aug 17 11:38:18 2025
232constParameterPointer398styleParameter 'period' can be declared as pointer to constSun Aug 17 11:38:18 2025
261constParameterPointer398styleParameter 'pmt' can be declared as pointer to constSun Aug 17 11:38:18 2025
262constParameterPointer398styleParameter 'fv' can be declared as pointer to constSun Aug 17 11:38:18 2025
263constParameterPointer398styleParameter 'pint' can be declared as pointer to constSun Aug 17 11:38:18 2025
src/lexer.c
123unreadVariable563styleVariable 'type' is assigned a value that is never used.Sun Aug 17 11:38:18 2025
531constVariablePointer398styleVariable 'token' can be declared as pointer to constSun Aug 17 11:38:18 2025
src/math-buttons.c
407unknownMacroerrorThere is an unknown macro here somewhere. Configuration is required. If G_GINT64_MODIFIER is a macro then please configure it.Sun Aug 17 11:38:18 2025
src/math-converter.c
147shadowVariable398styleLocal variable 'iter' shadows outer variableSun Aug 17 11:38:18 2025
198constParameterPointer398styleParameter 'unit' can be declared as pointer to constSun Aug 17 11:38:18 2025
274staticFunctionstyleThe function 'math_converter_get_conversion' should have static linkage since it is not used outside of its translation unit.Sun Aug 17 11:38:18 2025
src/math-equation.c
507staticFunctionstyleThe function 'math_equation_get_digit_text' should have static linkage since it is not used outside of its translation unit.Sun Aug 17 11:38:18 2025
619staticFunctionstyleThe function 'math_equation_get_base' should have static linkage since it is not used outside of its translation unit.Sun Aug 17 11:38:18 2025
684staticFunctionstyleThe function 'math_equation_get_source_currency' should have static linkage since it is not used outside of its translation unit.Sun Aug 17 11:38:18 2025
707staticFunctionstyleThe function 'math_equation_get_target_currency' should have static linkage since it is not used outside of its translation unit.Sun Aug 17 11:38:18 2025
730staticFunctionstyleThe function 'math_equation_get_source_units' should have static linkage since it is not used outside of its translation unit.Sun Aug 17 11:38:18 2025
754staticFunctionstyleThe function 'math_equation_get_target_units' should have static linkage since it is not used outside of its translation unit.Sun Aug 17 11:38:18 2025
785staticFunctionstyleThe function 'math_equation_is_empty' should have static linkage since it is not used outside of its translation unit.Sun Aug 17 11:38:18 2025
809staticFunctionstyleThe function 'math_equation_get_display' should have static linkage since it is not used outside of its translation unit.Sun Aug 17 11:38:18 2025
821staticFunctionstyleThe function 'math_equation_get_equation' should have static linkage since it is not used outside of its translation unit.Sun Aug 17 11:38:18 2025
906staticFunctionstyleThe function 'math_equation_set_number_mode' should have static linkage since it is not used outside of its translation unit.Sun Aug 17 11:38:18 2025
969staticFunctionstyleThe function 'math_equation_set' should have static linkage since it is not used outside of its translation unit.Sun Aug 17 11:38:18 2025
1117nullPointerOutOfMemory476warningIf memory allocation fails, then there is a possible null pointer dereference: cSun Aug 17 11:38:18 2025
1137constVariablePointer398styleVariable 't' can be declared as pointer to constSun Aug 17 11:38:18 2025
1140nullPointerOutOfMemory476warningIf memory allocation fails, then there is a possible null pointer dereference: cSun Aug 17 11:38:18 2025
1889constParameterCallback398styleParameter '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).Sun Aug 17 11:38:18 2025
src/math-preferences.c
163unreadVariable563styleVariable 'valid' is assigned a value that is never used.Sun Aug 17 11:38:18 2025
src/math-variable-popup.c
210constVariablePointer398styleVariable 'val' can be declared as pointer to constSun Aug 17 11:38:18 2025
src/math-variables.c
90constVariablePointer398styleVariable 'name' can be declared as pointer to constSun Aug 17 11:38:18 2025
91constVariablePointer398styleVariable 'value' can be declared as pointer to constSun Aug 17 11:38:18 2025
src/math-window.c
317constParameterCallback398styleParameter '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).Sun Aug 17 11:38:18 2025
src/mp-convert.c
191knownConditionTrueFalse571styleCondition 'x>0' is always trueSun Aug 17 11:38:18 2025
424suspiciousFloatingPointCast398styleFloating-point cast causes loss of precision.Sun Aug 17 11:38:18 2025
568arrayIndexOutOfBounds788errorArray 'digits[0][10]' accessed at index digits[*][10], which is out of bounds.Sun Aug 17 11:38:18 2025
601invalidscanf119warningsscanf() without field width limits can crash with huge input data.Sun Aug 17 11:38:18 2025
684constVariable398styleVariable 'numerators' can be declared as const arraySun Aug 17 11:38:18 2025
685constVariable398styleVariable 'denominators' can be declared as const arraySun Aug 17 11:38:18 2025
715knownConditionTrueFalse398styleThe comparison 'multiplier != 0' is always false.Sun Aug 17 11:38:18 2025
src/mp-equation.c
153nullPointerOutOfMemory476warningIf memory allocation fails, then there is a possible null pointer dereference: cSun Aug 17 11:38:18 2025
198nullPointerOutOfMemory476warningIf memory allocation fails, then there is a possible null pointer dereference: cSun Aug 17 11:38:18 2025
src/mp-serializer.c
146shadowVariable398styleLocal variable 'digits' shadows outer variableSun Aug 17 11:38:18 2025
204knownConditionTrueFalse570styleCondition 'strcmp(s->str,"+0")==0' is always falseSun Aug 17 11:38:18 2025
206knownConditionTrueFalse571styleCondition 'strcmp(s->str,"0")!=0' is always trueSun Aug 17 11:38:18 2025
336knownConditionTrueFalse570styleCondition 'strcmp(s->str,"+0")==0' is always falseSun Aug 17 11:38:18 2025
338knownConditionTrueFalse571styleCondition 'strcmp(s->str,"0")!=0' is always trueSun Aug 17 11:38:18 2025
387constParameterPointer398styleParameter 'serializer' can be declared as pointer to constSun Aug 17 11:38:18 2025
src/mp-trigonometric.c
34staticFunctionstyleThe function 'convert_to_radians' should have static linkage since it is not used outside of its translation unit.Sun Aug 17 11:38:18 2025
364shadowVariable398styleLocal variable 'pi' shadows outer variableSun Aug 17 11:38:18 2025
src/mp.c
256shadowVariable398styleLocal variable 'i' shadows outer variableSun Aug 17 11:38:18 2025
261knownConditionTrueFalse571styleCondition 'i>0' is always trueSun Aug 17 11:38:18 2025
1574knownConditionTrueFalse570styleCondition 'c<0' is always falseSun Aug 17 11:38:18 2025
src/parser.c
73constParameterPointer398styleParameter 'state' can be declared as pointer to constSun Aug 17 11:38:18 2025
80constParameterPointer398styleParameter 'state' can be declared as pointer to constSun Aug 17 11:38:18 2025
106constParameterPointer398styleParameter 'left' can be declared as pointer to constSun Aug 17 11:38:18 2025
106constParameterPointer398styleParameter 'right' can be declared as pointer to constSun Aug 17 11:38:18 2025
250constVariablePointer398styleVariable 'token' can be declared as pointer to constSun Aug 17 11:38:18 2025
1206constVariablePointer398styleVariable 'token' can be declared as pointer to constSun Aug 17 11:38:18 2025
src/parserfunc.c
372nullPointerOutOfMemory476warningIf memory allocation fails, then there is a possible null pointer dereference: inv_nameSun Aug 17 11:38:18 2025
373nullPointerOutOfMemory476warningIf memory allocation fails, then there is a possible null pointer dereference: inv_nameSun Aug 17 11:38:18 2025
src/prelexer.c
36constVariablePointer398styleVariable 'tmp' can be declared as pointer to constSun Aug 17 11:38:18 2025
47staticFunctionstyleThe function 'pl_get_next_gunichar' should have static linkage since it is not used outside of its translation unit.Sun Aug 17 11:38:18 2025
src/test-mp-equation.c
167constParameterCallback398styleParameter 'G_GNUC_UNUSED' can be declared as pointer to const. However it seems that 'variable_is_defined' is a callback function, if 'G_GNUC_UNUSED' is declared with const you might also need to cast function pointer(s).Sun Aug 17 11:38:18 2025
193constParameterCallback398styleParameter 'G_GNUC_UNUSED' can be declared as pointer to const. However it seems that 'set_variable' is a callback function, if 'G_GNUC_UNUSED' is declared with const you might also need to cast function pointer(s).Sun Aug 17 11:38:18 2025
src/test-mp.c
59constParameterPointer398styleParameter 'x' can be declared as pointer to constSun Aug 17 11:38:18 2025
src/unit-category.c
62constParameterPointer398styleParameter 'category' can be declared as pointer to constSun Aug 17 11:38:18 2025
81constParameterPointer398styleParameter 'category' can be declared as pointer to constSun Aug 17 11:38:18 2025
107constParameterPointer398styleParameter 'category' can be declared as pointer to constSun Aug 17 11:38:18 2025
src/unit-manager.c
150staticFunctionstyleThe function 'unit_manager_add_category' should have static linkage since it is not used outside of its translation unit.Sun Aug 17 11:38:18 2025
175constParameterPointer398styleParameter 'manager' can be declared as pointer to constSun Aug 17 11:38:18 2025
193constParameterPointer398styleParameter 'manager' can be declared as pointer to constSun Aug 17 11:38:18 2025
214constParameterPointer398styleParameter 'manager' can be declared as pointer to constSun Aug 17 11:38:18 2025
235constParameterPointer398styleParameter 'manager' can be declared as pointer to constSun Aug 17 11:38:18 2025
src/unit.c
76constParameterPointer398styleParameter 'unit' can be declared as pointer to constSun Aug 17 11:38:18 2025
84constVariablePointer398styleVariable 's' can be declared as pointer to constSun Aug 17 11:38:18 2025
103constParameterCallback398styleParameter 'G_GNUC_UNUSED' can be declared as pointer to const. However it seems that 'variable_is_defined' is a callback function, if 'G_GNUC_UNUSED' is declared with const you might also need to cast function pointer(s).Sun Aug 17 11:38:18 2025
114constVariablePointer398styleVariable 'x' can be declared as pointer to constSun Aug 17 11:38:18 2025
143constParameterPointer398styleParameter 'unit' can be declared as pointer to constSun Aug 17 11:38:18 2025
165constParameterPointer398styleParameter 'unit' can be declared as pointer to constSun Aug 17 11:38:18 2025
187constParameterPointer398styleParameter 'x' can be declared as pointer to constSun Aug 17 11:38:18 2025
src/unittest.c
143constParameterCallback398styleParameter '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).Sun Aug 17 11:38:18 2025
167constParameterCallback398styleParameter '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).Sun Aug 17 11:38:18 2025
182redundantAssignment563styleVariable 'options.base' is reassigned a value before the old one has been used.Sun Aug 17 11:38:18 2025
596constParameterPointer398styleParameter 'x' can be declared as pointer to constSun Aug 17 11:38:18 2025