LineIdCWESeverityMessage
src/compositor/compositor-xrender.c
291constVariablePointer398styleVariable 'compositor' can be declared as pointer to const
452constVariable398styleVariable 'radii' can be declared as const array
797constVariablePointer398styleVariable 'info' can be declared as pointer to const
932constVariablePointer398styleVariable 'info' can be declared as pointer to const
958constVariablePointer398styleVariable 'info' can be declared as pointer to const
1010constVariablePointer398styleVariable 'info' can be declared as pointer to const
2190constVariablePointer398styleVariable 'ncw' can be declared as pointer to const
2208constVariablePointer398styleVariable 'cw2' can be declared as pointer to const
2358nullPointerRedundantCheck476warningEither the condition 'info!=NULL' is redundant or there is possible null pointer dereference: info.
2840constVariablePointer398styleVariable 'xrc' can be declared as pointer to const
2840unreadVariable563styleVariable 'xrc' is assigned a value that is never used.
src/core/async-getprop.c
116constParameterPointer398styleParameter 'task' can be declared as pointer to const
595unreadVariable563styleVariable 'dpy' is assigned a value that is never used.
628constParameterPointer398styleParameter 'task' can be declared as pointer to const
634constParameterPointer398styleParameter 'task' can be declared as pointer to const
640constParameterPointer398styleParameter 'task' can be declared as pointer to const
src/core/boxes.c
1253constVariablePointer398styleVariable 'cur' can be declared as pointer to const
1277constVariablePointer398styleVariable 'comp' can be declared as pointer to const
1593constParameterPointer398styleParameter 'rect' can be declared as pointer to const
1593constParameterPointer398styleParameter 'edge' can be declared as pointer to const
1652constVariablePointer398styleVariable 'rect' can be declared as pointer to const
src/core/constraints.c
354constParameterPointer398styleParameter 'new' can be declared as pointer to const
1063constParameterPointer398styleParameter 'window' can be declared as pointer to const
1166constParameterPointer398styleParameter 'window' can be declared as pointer to const
src/core/display.c
405shadowVariable398styleLocal variable 'i' shadows outer variable
952constParameterPointer398styleParameter 'display' can be declared as pointer to const
994constParameterPointer398styleParameter 'display' can be declared as pointer to const
995constParameterPointer398styleParameter 'xscreen' can be declared as pointer to const
1214constParameterPointer398styleParameter 'display' can be declared as pointer to const
1659checkLevelNormalinformationValueFlow analysis is limited in event_callback. Use --check-level=exhaustive if full analysis is wanted.
1765constVariablePointer398styleVariable 'sev' can be declared as pointer to const
2719constParameterPointer398styleParameter 'display' can be declared as pointer to const
3349constParameterPointer398styleParameter 'display' can be declared as pointer to const
3355constVariablePointer398styleVariable 'screen' can be declared as pointer to const
4585constParameterPointer398styleParameter 'display' can be declared as pointer to const
4586constParameterPointer398styleParameter 'window' can be declared as pointer to const
4592constVariablePointer398styleVariable 'ping_data' can be declared as pointer to const
4619constParameterPointer398styleParameter 'screen' can be declared as pointer to const
4661constParameterPointer398styleParameter 'screen' can be declared as pointer to const
4702constParameterPointer398styleParameter 'screen' can be declared as pointer to const
4852constParameterPointer398styleParameter 'screen' can be declared as pointer to const
4920constParameterPointer398styleParameter 'display' can be declared as pointer to const
5197constParameterPointer398styleParameter 'display' can be declared as pointer to const
5252shadowVariable398styleLocal variable 'display' shadows outer variable
5302shadowVariable398styleLocal variable 'display' shadows outer variable
5356constParameterPointer398styleParameter 'display' can be declared as pointer to const
5514constParameterPointer398styleParameter 'display' can be declared as pointer to const
5520constParameterPointer398styleParameter 'display' can be declared as pointer to const
5526constParameterPointer398styleParameter 'display' can be declared as pointer to const
5532constParameterPointer398styleParameter 'display' can be declared as pointer to const
5538constParameterPointer398styleParameter 'display' can be declared as pointer to const
5545constParameterPointer398styleParameter 'display' can be declared as pointer to const
5554constParameterPointer398styleParameter 'display' can be declared as pointer to const
src/core/edge-resistance.c
233redundantAssignment563styleVariable 'compare' is reassigned a value before the old one has been used.
502constParameterPointer398styleParameter 'edges' can be declared as pointer to const
826constVariablePointer398styleVariable 'edge' can be declared as pointer to const
src/core/effects.c
207constParameterPointer398styleParameter 'window_rect' can be declared as pointer to const
208constParameterPointer398styleParameter 'icon_rect' can be declared as pointer to const
227constParameterPointer398styleParameter 'window_rect' can be declared as pointer to const
228constParameterPointer398styleParameter 'icon_rect' can be declared as pointer to const
410constParameterPointer398styleParameter 'initial_rect' can be declared as pointer to const
411constParameterPointer398styleParameter 'destination_rect' can be declared as pointer to const
src/core/frame.c
447constParameterPointer398styleParameter 'frame' can be declared as pointer to const
src/core/group-props.c
124constParameterCallback398styleParameter 'display' can be declared as pointer to const. However it seems that 'init_wm_client_machine' is a callback function, if 'display' is declared with const you might also need to cast function pointer(s).
147constParameterCallback398styleParameter 'display' can be declared as pointer to const. However it seems that 'init_net_startup_id' is a callback function, if 'display' is declared with const you might also need to cast function pointer(s).
src/core/group.c
107constParameterPointer398styleParameter 'window' can be declared as pointer to const
260constParameterPointer398styleParameter 'group' can be declared as pointer to const
src/core/iconcache.c
178constParameterPointer398styleParameter 'argb_data' can be declared as pointer to const
357constVariablePointer398styleVariable 's' can be declared as pointer to const
578constParameterPointer398styleParameter 'display' can be declared as pointer to const
590constParameterPointer398styleParameter 'icon_cache' can be declared as pointer to const
src/core/keybindings.c
326constVariablePointer398styleVariable 'combo' can be declared as pointer to const
387constVariablePointer398styleVariable 'combo' can be declared as pointer to const
1337knownConditionTrueFalse570styleCondition 'str' is always false
1438constParameterPointer398styleParameter 'event' can be declared as pointer to const
3668clarifyCondition398styleBoolean result is used in bitwise operation. Clarify expression with parentheses.
src/core/place.c
280constParameterPointer398styleParameter 'window' can be declared as pointer to const
428constVariablePointer398styleVariable 'other' can be declared as pointer to const
515constParameterPointer398styleParameter 'work_area' can be declared as pointer to const
533constParameterPointer398styleParameter 'work_area' can be declared as pointer to const
632constVariablePointer398styleVariable 'w' can be declared as pointer to const
663constVariablePointer398styleVariable 'w' can be declared as pointer to const
src/core/prefs.c
720knownConditionTrueFalse570styleCondition 'old_value!=*((gboolean*)cursor->target)' is always false
2348constVariablePointer398styleVariable 'c' can be declared as pointer to const
src/core/screen.c
163unreadVariable563styleVariable 'display' is assigned a value that is never used.
1009constParameterPointer398styleParameter 'screen' can be declared as pointer to const
1651constParameterPointer398styleParameter 'window' can be declared as pointer to const
2475constParameterPointer398styleParameter 'keep' can be declared as pointer to const
2883constParameterPointer398styleParameter 'screen' can be declared as pointer to const
2889constParameterPointer398styleParameter 'screen' can be declared as pointer to const
2895constParameterPointer398styleParameter 'screen' can be declared as pointer to const
2910constParameterPointer398styleParameter 'screen' can be declared as pointer to const
src/core/session.c
1467variableScope398styleThe scope of the variable 'pd' can be reduced.
1583constParameterPointer398styleParameter 'window' can be declared as pointer to const
src/core/stack.c
402constVariablePointer398styleVariable 'window_a' can be declared as pointer to const
403constVariablePointer398styleVariable 'window_b' can be declared as pointer to const
1354constParameterPointer398styleParameter 'window' can be declared as pointer to const
1511constParameterPointer398styleParameter 'window_a' can be declared as pointer to const
1512constParameterPointer398styleParameter 'window_b' can be declared as pointer to const
1536constVariablePointer398styleVariable 'window_a' can be declared as pointer to const
1537constVariablePointer398styleVariable 'window_b' 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
128constVariablePointer398styleVariable 'hooks' can be declared as pointer to const
219constParameterPointer398styleParameter 'a' can be declared as pointer to const
220constParameterPointer398styleParameter 'b' can be declared as pointer to const
952constParameterPointer398styleParameter 'value' can be declared as pointer to const
1029constParameterPointer398styleParameter 'hints' can be declared as pointer to const
src/core/window.c
165constParameterCallback398styleParameter 'window' can be declared as pointer to const. However it seems that 'is_desktop_or_dock_foreach' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s).
418constVariablePointer398styleVariable 'scr' can be declared as pointer to const
1367constParameterPointer398styleParameter 'window' can be declared as pointer to const
1368constParameterPointer398styleParameter 'workspace' can be declared as pointer to const
1375constParameterCallback398styleParameter 'window' can be declared as pointer to const. However it seems that 'is_minimized_foreach' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s).
1964constParameterPointer398styleParameter 'window' can be declared as pointer to const
2110constVariablePointer398styleVariable 'w' can be declared as pointer to const
2605constParameterPointer398styleParameter 'saved_rect' can be declared as pointer to const
2764constParameterPointer398styleParameter 'window' can be declared as pointer to const
3265constParameterPointer398styleParameter 'window' can be declared as pointer to const
3395constParameterPointer398styleParameter 'display' can be declared as pointer to const
3440constVariablePointer398styleVariable 'parent' 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
6639constVariablePointer398styleVariable 'parent' can be declared as pointer to const
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
8193constVariablePointer398styleVariable 'group' can be declared as pointer to const
8194constVariablePointer398styleVariable 'other_group' can be declared as pointer to const
8211constParameterPointer398styleParameter 'other_window' can be declared as pointer to const
8379constParameterCallback398styleParameter 'window' can be declared as pointer to const. However it seems that 'find_ancestor_func' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s).
8715constVariablePointer398styleVariable 'workspace' can be declared as pointer to const
8782constParameterPointer398styleParameter 'window' can be declared as pointer to const
8818constParameterPointer398styleParameter 'window' can be declared as pointer to const
8824constParameterPointer398styleParameter 'window' can be declared as pointer to const
8836constParameterPointer398styleParameter 'window' can be declared as pointer to const
8842constParameterPointer398styleParameter 'window' can be declared as pointer to const
8848constParameterPointer398styleParameter 'window' can be declared as pointer to const
8877constParameterPointer398styleParameter 'window' can be declared as pointer to const
8889constParameterPointer398styleParameter 'window' can be declared as pointer to const
src/core/workspace.c
616constVariablePointer398styleVariable 'win' 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
412shadowVariable398styleLocal variable 'md' shadows outer variable
413shadowVariable398styleLocal variable 'key' shadows outer variable
414shadowVariable398styleLocal variable 'mods' shadows outer variable
src/ui/tabpopup.c
606constParameterPointer398styleParameter '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.
4254constParameterPointer398styleParameter 'error' can be declared as pointer to const
src/ui/theme.c
209constParameterPointer398styleParameter 'new_color' can be declared as pointer to const
603constParameterPointer398styleParameter 'theme' can be declared as pointer to const
698constParameterPointer398styleParameter '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
3059constParameterPointer398styleParameter 'env' can be declared as pointer to const
4596constParameterPointer398styleParameter 'op_list' can be declared as pointer to const
6373constParameterPointer398styleParameter 'theme' can be declared as pointer to const
6883constParameterPointer398styleParameter 'a' can be declared as pointer to const
src/ui/ui.c
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.