|
| missingInclude | | information | Cppcheck cannot find all the include files (use --check-config for details) |
src/cafe-calc-cmd.c |
71 | variableScope | 398 | style | The scope of the variable 'line' can be reduced. |
src/cafe-calc.c |
124 | variableScope | 398 | style | The scope of the variable 'arg' can be reduced. |
src/lexer.c |
34 | variableScope | 398 | style | The scope of the variable 'count' can be reduced. |
122 | unreadVariable | 563 | style | Variable 'type' is assigned a value that is never used. |
530 | variableScope | 398 | style | The scope of the variable 'token' can be reduced. |
src/math-buttons.c |
89 | unusedStructMember | 563 | style | struct member 'ButtonData::class' is never used. |
393 | shadowVariable | 398 | style | Local variable 'label' shadows outer variable |
473 | unreadVariable | 563 | style | Variable 'valid' is assigned a value that is never used. |
src/math-converter.c |
145 | shadowVariable | 398 | style | Local variable 'iter' shadows outer variable |
src/math-equation.c |
873 | variableScope | 398 | style | The scope of the variable 'text' can be reduced. |
src/math-preferences.c |
161 | unreadVariable | 563 | style | Variable 'valid' is assigned a value that is never used. |
src/mp-convert.c |
33 | variableScope | 398 | style | The scope of the variable 'k' can be reduced. |
106 | variableScope | 398 | style | The scope of the variable 'k' can be reduced. |
187 | knownConditionTrueFalse | 571 | style | Condition 'x>0' is always true |
461 | variableScope | 398 | style | The scope of the variable 'dz2' can be reduced. |
560 | arrayIndexOutOfBounds | 788 | error | Array 'digits[0][10]' accessed at index digits[*][10], which is out of bounds. |
593 | invalidscanf | 119 | warning | sscanf() without field width limits can crash with huge input data. |
622 | variableScope | 398 | style | The scope of the variable 'numerators' can be reduced. |
623 | variableScope | 398 | style | The scope of the variable 'denominators' can be reduced. |
706 | knownConditionTrueFalse | 398 | style | The comparison 'multiplier != 0' is always false. |
src/mp-equation.c |
293 | variableScope | 398 | style | The scope of the variable 'err' can be reduced. |
src/mp-serializer.c |
146 | shadowVariable | 398 | style | Local variable 'digits' shadows outer variable |
204 | knownConditionTrueFalse | 570 | style | Condition 'strcmp(s->str,"+0")==0' is always false |
206 | knownConditionTrueFalse | 571 | style | Condition 'strcmp(s->str,"0")!=0' is always true |
336 | knownConditionTrueFalse | 570 | style | Condition 'strcmp(s->str,"+0")==0' is always false |
338 | knownConditionTrueFalse | 571 | style | Condition 'strcmp(s->str,"0")!=0' is always true |
src/mp-trigonometric.c |
364 | shadowVariable | 398 | style | Local variable 'pi' shadows outer variable |
src/mp.c |
256 | shadowVariable | 398 | style | Local variable 'i' shadows outer variable |
261 | knownConditionTrueFalse | 571 | style | Condition 'i>0' is always true |
1233 | variableScope | 398 | style | The scope of the variable 'e' can be reduced. |
1234 | variableScope | 398 | style | The scope of the variable 'rx' can be reduced. |
1234 | variableScope | 398 | style | The scope of the variable 'rlx' can be reduced. |
1572 | knownConditionTrueFalse | 570 | style | Condition 'c<0' is always false |
src/parser.c |
325 | variableScope | 398 | style | The scope of the variable 'c' can be reduced. |
326 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. |
538 | variableScope | 398 | style | The scope of the variable 'token_old' can be reduced. |
539 | variableScope | 398 | style | The scope of the variable 'node' can be reduced. |
1161 | variableScope | 398 | style | The scope of the variable 'token_old' can be reduced. |
1162 | variableScope | 398 | style | The scope of the variable 'node' can be reduced. |
1206 | variableScope | 398 | style | The scope of the variable 'node' can be reduced. |
src/parserfunc.c |
171 | variableScope | 398 | style | The scope of the variable 'c' can be reduced. |
172 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. |
228 | variableScope | 398 | style | The scope of the variable 'c' can be reduced. |
229 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. |
src/unit-category.c |
107 | constParameter | 398 | style | Parameter 'category' can be declared with const |
src/unit-manager.c |
196 | variableScope | 398 | style | The scope of the variable 'u' can be reduced. |
216 | variableScope | 398 | style | The scope of the variable 'u' can be reduced. |
src/unittest.c |
81 | variableScope | 398 | style | The scope of the variable 'result_str' can be reduced. |
181 | redundantAssignment | 563 | style | Variable 'options.base' is reassigned a value before the old one has been used. |