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