LineIdCWESeverityMessage
missingIncludeinformationCppcheck cannot find all the include files (use --check-config for details)
src/compositor/compositor-xrender.c
2358nullPointerRedundantCheck476warningEither the condition 'info!=NULL' is redundant or there is possible null pointer dereference: info.
2840unreadVariable563styleVariable 'xrc' is assigned a value that is never used.
src/core/async-getprop.c
116constParameter398styleParameter 'task' can be declared as pointer to const
595unreadVariable563styleVariable 'dpy' is assigned a value that is never used.
src/core/display.c
405shadowVariable398styleLocal variable 'i' shadows outer variable
995constParameter398styleParameter 'xscreen' can be declared as pointer to const
1951knownConditionTrueFalse571styleCondition '!unmodified' is always true
2351knownConditionTrueFalse571styleCondition 'window' is always true
2912ConfigurationNotCheckedinformationSkipping 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.
4619constParameter398styleParameter 'screen' can be declared as pointer to const
4661constParameter398styleParameter 'screen' can be declared as pointer to const
4852constParameter398styleParameter 'screen' can be declared as pointer to const
5252shadowVariable398styleLocal variable 'display' shadows outer variable
5302shadowVariable398styleLocal variable 'display' shadows outer variable
src/core/edge-resistance.c
233redundantAssignment563styleVariable 'compare' is reassigned a value before the old one has been used.
src/core/effects.c
207constParameter398styleParameter 'window_rect' can be declared as pointer to const
208constParameter398styleParameter 'icon_rect' can be declared as pointer to const
227constParameter398styleParameter 'window_rect' can be declared as pointer to const
228constParameter398styleParameter 'icon_rect' can be declared as pointer to const
410constParameter398styleParameter 'initial_rect' can be declared as pointer to const
411constParameter398styleParameter 'destination_rect' can be declared as pointer to const
src/core/iconcache.c
178constParameter398styleParameter 'argb_data' can be declared as pointer to const
src/core/keybindings.c
3668clarifyCondition398styleBoolean result is used in bitwise operation. Clarify expression with parentheses.
src/core/main.c
436ConfigurationNotCheckedinformationSkipping 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
163unreadVariable563styleVariable 'display' is assigned a value that is never used.
2475constParameter398styleParameter 'keep' can be declared as pointer to const
src/core/testasyncgetprop.c
215uselessAssignmentPtrArg398warningAssignment of function parameter has no effect outside the function. Did you forget dereferencing it?
src/core/window-props.c
1029constParameter398styleParameter 'hints' can be declared as pointer to const
src/core/window.c
2605constParameter398styleParameter 'saved_rect' can be declared as pointer to const
3641duplicateCondition398styleThe if condition is the same as the previous if condition
3701knownConditionTrueFalse571styleCondition 'need_move_frame' is always true
7753invalidTestForOverflow391warningInvalid 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'.
7753invalidTestForOverflow391warningInvalid 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'.
7845knownConditionTrueFalse571styleCondition 'esd.last_time==0' is always true
8379constParameter398styleParameter 'window' can be declared as pointer to const
src/core/xprops.c
308unsignedLessThanZero570styleChecking if unsigned expression 'results->n_items' is less than zero.
src/ui/menu.c
265ctuuninitvar457errorUsing argument menuitem that points at uninitialized variable moveitem
412shadowVariable398styleLocal variable 'md' shadows outer variable
413shadowVariable398styleLocal variable 'key' shadows outer variable
414shadowVariable398styleLocal variable 'mods' shadows outer variable
src/ui/resizepopup.c
32unusedStructMember563stylestruct member '_MetaResizePopup::size_window' is never used.
33unusedStructMember563stylestruct member '_MetaResizePopup::size_label' is never used.
34unusedStructMember563stylestruct member '_MetaResizePopup::display' is never used.
35unusedStructMember563stylestruct member '_MetaResizePopup::screen_number' is never used.
37unusedStructMember563stylestruct member '_MetaResizePopup::vertical_size' is never used.
38unusedStructMember563stylestruct member '_MetaResizePopup::horizontal_size' is never used.
src/ui/tabpopup.c
62unusedStructMember563stylestruct member '_MetaTabPopup::window' is never used.
63unusedStructMember563stylestruct member '_MetaTabPopup::grid' is never used.
64unusedStructMember563stylestruct member '_MetaTabPopup::label' is never used.
65unusedStructMember563stylestruct member '_MetaTabPopup::current' is never used.
66unusedStructMember563stylestruct member '_MetaTabPopup::entries' is never used.
67unusedStructMember563stylestruct member '_MetaTabPopup::current_selected_entry' is never used.
68unusedStructMember563stylestruct member '_MetaTabPopup::outline_window' is never used.
606constParameter398styleParameter 'w' can be declared as pointer to const
src/ui/theme-parser.c
921varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1006varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1095varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1129varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1232varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1274varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1416varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1489varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1545varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1716varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1803varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1879varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2000varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2047varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2113varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2187varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2354varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2441varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2506varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2562varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2626varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2687varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2771varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2880varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2929varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2984varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
3093varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
src/ui/theme.c
698constParameter398styleParameter 'to_strip' can be declared as pointer to const
1406nullPointerRedundantCheck476warningEither the condition 'color_name_start==NULL' is redundant or there is possible null pointer dereference: fallback_str_start.
2581ctunullpointer476errorNull pointer dereference: env
4596constParameter398styleParameter 'op_list' can be declared as pointer to const
4733constParameter398styleParameter 'button_states' can be declared as const array
src/ui/tile-preview.c
38unusedStructMember563stylestruct member '_MetaTilePreview::preview_window' is never used.
40unusedStructMember563stylestruct member '_MetaTilePreview::preview_color' is never used.
src/ui/ui.c
39unusedStructMember563stylestruct member '_MetaUI::xdisplay' is never used.
40unusedStructMember563stylestruct member '_MetaUI::xscreen' is never used.
41unusedStructMember563stylestruct member '_MetaUI::frames' is never used.
46unusedStructMember563stylestruct member '_MetaUI::button_click_x' is never used.
47unusedStructMember563stylestruct member '_MetaUI::button_click_y' is never used.
924unusedStructMember563stylestruct member 'MetaStockIcon::stock_id' is never used.
925unusedStructMember563stylestruct member 'MetaStockIcon::icon_data' is never used.
src/wm-tester/test-resizing.c
139redundantAssignment563styleVariable 'mask' is reassigned a value before the old one has been used.
140redundantAssignment563styleVariable 'mask' is reassigned a value before the old one has been used.