|
| missingInclude | | information | Cppcheck cannot find all the include files (use --check-config for details) |
src/compositor/compositor-xrender.c |
2358 | nullPointerRedundantCheck | 476 | warning | Either the condition 'info!=NULL' is redundant or there is possible null pointer dereference: info. |
2840 | unreadVariable | 563 | style | Variable 'xrc' is assigned a value that is never used. |
src/core/async-getprop.c |
116 | constParameter | 398 | style | Parameter 'task' can be declared as pointer to const |
595 | unreadVariable | 563 | style | Variable 'dpy' is assigned a value that is never used. |
src/core/display.c |
405 | shadowVariable | 398 | style | Local variable 'i' shadows outer variable |
995 | constParameter | 398 | style | Parameter 'xscreen' can be declared as pointer to const |
1951 | knownConditionTrueFalse | 571 | style | Condition '!unmodified' is always true |
2351 | knownConditionTrueFalse | 571 | style | Condition 'window' is always true |
2912 | ConfigurationNotChecked | | information | Skipping configuration 'NotifyWhileGrabbed;WITH_VERBOSE_MODE;PACKAGE' since the value of 'NotifyWhileGrabbed' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. |
4619 | constParameter | 398 | style | Parameter 'screen' can be declared as pointer to const |
4661 | constParameter | 398 | style | Parameter 'screen' can be declared as pointer to const |
4852 | constParameter | 398 | style | Parameter 'screen' can be declared as pointer to const |
5252 | shadowVariable | 398 | style | Local variable 'display' shadows outer variable |
5302 | shadowVariable | 398 | style | Local variable 'display' shadows outer variable |
src/core/edge-resistance.c |
233 | redundantAssignment | 563 | style | Variable 'compare' is reassigned a value before the old one has been used. |
src/core/effects.c |
207 | constParameter | 398 | style | Parameter 'window_rect' can be declared as pointer to const |
208 | constParameter | 398 | style | Parameter 'icon_rect' can be declared as pointer to const |
227 | constParameter | 398 | style | Parameter 'window_rect' can be declared as pointer to const |
228 | constParameter | 398 | style | Parameter 'icon_rect' can be declared as pointer to const |
410 | constParameter | 398 | style | Parameter 'initial_rect' can be declared as pointer to const |
411 | constParameter | 398 | style | Parameter 'destination_rect' can be declared as pointer to const |
src/core/iconcache.c |
178 | constParameter | 398 | style | Parameter 'argb_data' can be declared as pointer to const |
src/core/keybindings.c |
3668 | clarifyCondition | 398 | style | Boolean result is used in bitwise operation. Clarify expression with parentheses. |
src/core/main.c |
436 | ConfigurationNotChecked | | information | Skipping configuration 'SIGXFSZ;PACKAGE' since the value of 'SIGXFSZ' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. |
src/core/screen.c |
163 | unreadVariable | 563 | style | Variable 'display' is assigned a value that is never used. |
2475 | constParameter | 398 | style | Parameter 'keep' can be declared as pointer to const |
src/core/testasyncgetprop.c |
215 | uselessAssignmentPtrArg | 398 | warning | Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? |
src/core/window-props.c |
1029 | constParameter | 398 | style | Parameter 'hints' can be declared as pointer to const |
src/core/window.c |
2605 | constParameter | 398 | style | Parameter 'saved_rect' can be declared as pointer to const |
3641 | duplicateCondition | 398 | style | The if condition is the same as the previous if condition |
3701 | knownConditionTrueFalse | 571 | style | Condition 'need_move_frame' is always true |
7753 | invalidTestForOverflow | 391 | warning | Invalid test for overflow 'new_x+new_w<=new_x'; signed integer overflow is undefined behavior. Some mainstream compilers removes handling of overflows when optimising the code and change the code to 'new_w<=0'. |
7753 | invalidTestForOverflow | 391 | warning | Invalid test for overflow 'new_y+new_h<=new_y'; signed integer overflow is undefined behavior. Some mainstream compilers removes handling of overflows when optimising the code and change the code to 'new_h<=0'. |
7845 | knownConditionTrueFalse | 571 | style | Condition 'esd.last_time==0' is always true |
8379 | constParameter | 398 | style | Parameter 'window' can be declared as pointer to const |
src/core/xprops.c |
308 | unsignedLessThanZero | 570 | style | Checking if unsigned expression 'results->n_items' is less than zero. |
src/ui/menu.c |
265 | ctuuninitvar | 457 | error | Using argument menuitem that points at uninitialized variable moveitem |
412 | shadowVariable | 398 | style | Local variable 'md' shadows outer variable |
413 | shadowVariable | 398 | style | Local variable 'key' shadows outer variable |
414 | shadowVariable | 398 | style | Local variable 'mods' shadows outer variable |
src/ui/resizepopup.c |
32 | unusedStructMember | 563 | style | struct member '_MetaResizePopup::size_window' is never used. |
33 | unusedStructMember | 563 | style | struct member '_MetaResizePopup::size_label' is never used. |
34 | unusedStructMember | 563 | style | struct member '_MetaResizePopup::display' is never used. |
35 | unusedStructMember | 563 | style | struct member '_MetaResizePopup::screen_number' is never used. |
37 | unusedStructMember | 563 | style | struct member '_MetaResizePopup::vertical_size' is never used. |
38 | unusedStructMember | 563 | style | struct member '_MetaResizePopup::horizontal_size' is never used. |
src/ui/tabpopup.c |
62 | unusedStructMember | 563 | style | struct member '_MetaTabPopup::window' is never used. |
63 | unusedStructMember | 563 | style | struct member '_MetaTabPopup::grid' is never used. |
64 | unusedStructMember | 563 | style | struct member '_MetaTabPopup::label' is never used. |
65 | unusedStructMember | 563 | style | struct member '_MetaTabPopup::current' is never used. |
66 | unusedStructMember | 563 | style | struct member '_MetaTabPopup::entries' is never used. |
67 | unusedStructMember | 563 | style | struct member '_MetaTabPopup::current_selected_entry' is never used. |
68 | unusedStructMember | 563 | style | struct member '_MetaTabPopup::outline_window' is never used. |
606 | constParameter | 398 | style | Parameter 'w' can be declared as pointer to const |
src/ui/theme-parser.c |
921 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
1006 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
1095 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
1129 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
1232 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
1274 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
1416 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
1489 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
1545 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
1716 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
1803 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
1879 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
2000 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
2047 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
2113 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
2187 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
2354 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
2441 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
2506 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
2562 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
2626 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
2687 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
2771 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
2880 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
2929 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
2984 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
3093 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
src/ui/theme.c |
698 | constParameter | 398 | style | Parameter 'to_strip' can be declared as pointer to const |
1406 | nullPointerRedundantCheck | 476 | warning | Either the condition 'color_name_start==NULL' is redundant or there is possible null pointer dereference: fallback_str_start. |
2581 | ctunullpointer | 476 | error | Null pointer dereference: env |
4596 | constParameter | 398 | style | Parameter 'op_list' can be declared as pointer to const |
4733 | constParameter | 398 | style | Parameter 'button_states' can be declared as const array |
src/ui/tile-preview.c |
38 | unusedStructMember | 563 | style | struct member '_MetaTilePreview::preview_window' is never used. |
40 | unusedStructMember | 563 | style | struct member '_MetaTilePreview::preview_color' is never used. |
src/ui/ui.c |
39 | unusedStructMember | 563 | style | struct member '_MetaUI::xdisplay' is never used. |
40 | unusedStructMember | 563 | style | struct member '_MetaUI::xscreen' is never used. |
41 | unusedStructMember | 563 | style | struct member '_MetaUI::frames' is never used. |
46 | unusedStructMember | 563 | style | struct member '_MetaUI::button_click_x' is never used. |
47 | unusedStructMember | 563 | style | struct member '_MetaUI::button_click_y' is never used. |
924 | unusedStructMember | 563 | style | struct member 'MetaStockIcon::stock_id' is never used. |
925 | unusedStructMember | 563 | style | struct member 'MetaStockIcon::icon_data' is never used. |
src/wm-tester/test-resizing.c |
139 | redundantAssignment | 563 | style | Variable 'mask' is reassigned a value before the old one has been used. |
140 | redundantAssignment | 563 | style | Variable 'mask' is reassigned a value before the old one has been used. |