|
| checkersReport | | information | Active checkers: There was critical errors (use --checkers-report=<filename> to see details) |
src/compositor/compositor-xrender.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
291 | constVariablePointer | 398 | style | Variable 'compositor' can be declared as pointer to const |
376 | constVariablePointer | 398 | style | Variable 'g_data' 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 |
1927 | constVariablePointer | 398 | style | Variable 'format' 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 |
2347 | constVariablePointer | 398 | style | Variable 'top' 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. |
2782 | constParameterCallback | 398 | style | Parameter 'compositor' can be declared as pointer to const. However it seems that 'xrender_remove_window' is a callback function, if 'compositor' is declared with const you might also need to cast function pointer(s). |
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. |
2997 | constParameterCallback | 398 | style | Parameter 'compositor' can be declared as pointer to const. However it seems that 'xrender_set_updates' is a callback function, if 'compositor' is declared with const you might also need to cast function pointer(s). |
2998 | constParameterCallback | 398 | style | Parameter 'window' can be declared as pointer to const. However it seems that 'xrender_set_updates' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). |
src/compositor/compositor.c |
27 | constParameterPointer | 398 | style | Parameter 'display' can be declared as pointer to const |
38 | constParameterPointer | 398 | style | Parameter 'compositor' can be declared as pointer to const |
47 | constParameterPointer | 398 | style | Parameter 'compositor' can be declared as pointer to const |
48 | constParameterPointer | 398 | style | Parameter 'window' can be declared as pointer to const |
50 | constParameterPointer | 398 | style | Parameter 'attrs' can be declared as pointer to const |
59 | constParameterPointer | 398 | style | Parameter 'compositor' can be declared as pointer to const |
69 | constParameterPointer | 398 | style | Parameter 'compositor' can be declared as pointer to const |
70 | constParameterPointer | 398 | style | Parameter 'screen' can be declared as pointer to const |
79 | constParameterPointer | 398 | style | Parameter 'compositor' can be declared as pointer to const |
80 | constParameterPointer | 398 | style | Parameter 'screen' can be declared as pointer to const |
89 | constParameterPointer | 398 | style | Parameter 'compositor' can be declared as pointer to const |
90 | constParameterPointer | 398 | style | Parameter 'window' can be declared as pointer to const |
100 | constParameterPointer | 398 | style | Parameter 'compositor' can be declared as pointer to const |
101 | constParameterPointer | 398 | style | Parameter 'event' can be declared as pointer to const |
102 | constParameterPointer | 398 | style | Parameter 'window' can be declared as pointer to const |
111 | constParameterPointer | 398 | style | Parameter 'compositor' can be declared as pointer to const |
112 | constParameterPointer | 398 | style | Parameter 'window' can be declared as pointer to const |
125 | constParameterPointer | 398 | style | Parameter 'compositor' can be declared as pointer to const |
126 | constParameterPointer | 398 | style | Parameter 'screen' can be declared as pointer to const |
127 | constParameterPointer | 398 | style | Parameter 'window' can be declared as pointer to const |
136 | constParameterPointer | 398 | style | Parameter 'compositor' can be declared as pointer to const |
137 | constParameterPointer | 398 | style | Parameter 'window' can be declared as pointer to const |
138 | constParameterPointer | 398 | style | Parameter 'initial' can be declared as pointer to const |
144 | constParameterPointer | 398 | style | Parameter 'compositor' can be declared as pointer to const |
145 | constParameterPointer | 398 | style | Parameter 'window' can be declared as pointer to const |
151 | constParameterPointer | 398 | style | Parameter 'compositor' can be declared as pointer to const |
152 | constParameterPointer | 398 | style | Parameter 'window' can be declared as pointer to const |
156 | constParameterPointer | 398 | style | Parameter 'compositor' can be declared as pointer to const |
157 | constParameterPointer | 398 | style | Parameter 'window' can be declared as pointer to const |
166 | constParameterPointer | 398 | style | Parameter 'compositor' can be declared as pointer to const |
167 | constParameterPointer | 398 | style | Parameter 'window' can be declared as pointer to const |
176 | constParameterPointer | 398 | style | Parameter 'compositor' can be declared as pointer to const |
177 | constParameterPointer | 398 | style | Parameter 'window' can be declared as pointer to const |
src/core/async-getprop.c |
116 | constParameterPointer | 398 | style | Parameter 'task' can be declared as pointer to const |
213 | constVariablePointer | 398 | style | Variable 'reply' can be declared as pointer to const |
370 | constVariablePointer | 398 | style | Variable 'end_lptr' can be declared as pointer to const |
591 | constVariablePointer | 398 | style | Variable 'dpy' 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/bell.c |
364 | constParameterPointer | 398 | style | Parameter 'display' can be declared as pointer to const |
369 | constParameterPointer | 398 | style | Parameter 'display' can be declared as pointer to const |
409 | constParameterPointer | 398 | style | Parameter 'display' can be declared as pointer to const |
src/core/boxes.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
1253 | constVariablePointer | 398 | style | Variable 'cur' can be declared as pointer to const |
1272 | 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 |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
354 | constParameterPointer | 398 | style | Parameter 'new' can be declared as pointer to const |
1063 | constParameterCallback | 398 | style | Parameter 'window' can be declared as pointer to const. However it seems that 'constrain_fullscreen' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). |
1166 | constParameterCallback | 398 | style | Parameter 'window' can be declared as pointer to const. However it seems that 'constrain_size_limits' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). |
src/core/core.c |
719 | constVariablePointer | 398 | style | Variable 'display' can be declared as pointer to const |
750 | constVariablePointer | 398 | style | Variable 'display' can be declared as pointer to const |
src/core/display.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
405 | shadowVariable | 398 | style | Local variable 'i' shadows outer variable |
952 | constParameterPointer | 398 | style | Parameter 'display' can be declared as pointer to const |
955 | constVariablePointer | 398 | style | Variable 'tmp' 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 |
997 | constVariablePointer | 398 | style | Variable 'tmp' can be declared as pointer to const |
1214 | constParameterPointer | 398 | style | Parameter 'display' can be declared as pointer to const |
1271 | constParameterPointer | 398 | style | Parameter 'display' can be declared as pointer to const |
1659 | checkLevelNormal | | information | Limiting ValueFlow analysis in function 'event_callback' since it is too complex. Please specify --check-level=exhaustive to perform full analysis. |
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 |
2798 | constParameterPointer | 398 | style | Parameter 'display' can be declared as pointer to const |
2946 | constParameterPointer | 398 | style | Parameter 'xdisplay' can be declared as pointer to const |
2947 | constParameterPointer | 398 | style | Parameter 'event' can be declared as pointer to const |
3260 | unknownMacro | | error | There is an unknown macro here somewhere. Configuration is required. If G_GINT64_FORMAT is a macro then please configure it. |
3349 | constParameterPointer | 398 | style | Parameter 'display' can be declared as pointer to const |
3353 | constVariablePointer | 398 | style | Variable 'temp' 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 |
4705 | constVariablePointer | 398 | style | Variable 'l' can be declared as pointer to const |
4850 | constParameterPointer | 398 | style | Parameter 'display' 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 |
4924 | constVariablePointer | 398 | style | Variable 'tmp' can be declared as pointer to const |
4951 | variableScope | 398 | style | The scope of the variable 'icccm_version' can be reduced. |
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 |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
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 |
773 | constVariablePointer | 398 | style | Variable 'tmp' can be declared as pointer to const |
826 | constVariablePointer | 398 | style | Variable 'edge' can be declared as pointer to const |
931 | constParameterPointer | 398 | style | Parameter 'display' can be declared as pointer to const |
src/core/effects.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
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 |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
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 |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
322 | constVariablePointer | 398 | style | Variable 'tmp' can be declared as pointer to const |
326 | constVariablePointer | 398 | style | Variable 'combo' can be declared as pointer to const |
383 | constVariablePointer | 398 | style | Variable 'tmp' can be declared as pointer to const |
387 | constVariablePointer | 398 | style | Variable 'combo' can be declared as pointer to const |
513 | constParameterPointer | 398 | style | Parameter 'event' can be declared as pointer to const |
748 | constParameterPointer | 398 | style | Parameter 'bindings' can be declared as pointer to const |
1180 | constVariablePointer | 398 | style | Variable 'random_screen' 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 |
3563 | constParameterPointer | 398 | style | Parameter 'display' can be declared as pointer to const |
3564 | constParameterPointer | 398 | style | Parameter 'screen' can be declared as pointer to const |
3565 | constParameterPointer | 398 | style | Parameter 'window' can be declared as pointer to const |
3566 | constParameterPointer | 398 | style | Parameter 'event' can be declared as pointer to const |
3567 | constParameterPointer | 398 | style | Parameter 'binding' can be declared as pointer to const |
3668 | clarifyCondition | 398 | style | Boolean result is used in bitwise operation. Clarify expression with parentheses. |
src/core/main.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
src/core/place.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
280 | constParameterPointer | 398 | style | Parameter 'window' can be declared as pointer to const |
422 | constVariablePointer | 398 | style | Variable 'tmp' 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 |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
720 | knownConditionTrueFalse | 570 | style | Condition 'old_value!=*((gboolean*)cursor->target)' is always false |
2344 | constVariablePointer | 398 | style | Variable 's' can be declared as pointer to const |
2348 | constVariablePointer | 398 | style | Variable 'c' can be declared as pointer to const |
src/core/schema-bindings.c |
57 | constVariablePointer | 398 | style | Variable 'keybinding_type' can be declared as pointer to const |
src/core/screen.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
147 | constVariablePointer | 398 | style | Variable 'display' can be declared as pointer to const |
163 | unreadVariable | 563 | style | Variable 'display' is assigned a value that is never used. |
810 | constParameterPointer | 398 | style | Parameter 'screen' can be declared as pointer to const |
1009 | constParameterPointer | 398 | style | Parameter 'screen' can be declared as pointer to const |
1012 | constVariablePointer | 398 | style | Variable 'tmp' can be declared as pointer to const |
1023 | variableScope | 398 | style | The scope of the variable 'w' can be reduced. |
1184 | 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 |
2751 | constParameterPointer | 398 | style | Parameter 'screen' can be declared as pointer to const |
2752 | constParameterPointer | 398 | style | Parameter 'window' 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 |
49 | constParameterPointer | 398 | style | Parameter 'window' can be declared as pointer to const |
1070 | unknownMacro | | error | There is an unknown macro here somewhere. Configuration is required. If G_DIR_SEPARATOR_S is a macro then please configure it. |
src/core/stack.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
250 | constParameterCallback | 398 | style | Parameter 'window' can be declared as pointer to const. However it seems that 'is_focused_foreach' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). |
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 |
1383 | constVariablePointer | 398 | style | Variable 'not_this_one_group' 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 |
1578 | constVariablePointer | 398 | style | Variable 'tmp1' can be declared as pointer to const |
1578 | constVariablePointer | 398 | style | Variable 'tmp2' can be declared as pointer to const |
src/core/testasyncgetprop.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
113 | constParameterPointer | 398 | style | Parameter 'xdisplay' can be declared as pointer to const |
215 | uselessAssignmentPtrArg | 398 | warning | Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? |
src/core/util.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
533 | constVariablePointer | 398 | style | Variable 'tmp' can be declared as pointer to const |
src/core/window-props.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
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 |
395 | constParameterPointer | 398 | style | Parameter 'result' can be declared as pointer to const |
495 | constVariablePointer | 398 | style | Variable 'pwd' can be declared as pointer to const |
570 | constParameterPointer | 398 | style | Parameter 'value' can be declared as pointer to const |
630 | constParameterPointer | 398 | style | Parameter 'value' can be declared as pointer to const |
677 | constParameterPointer | 398 | style | Parameter 'value' can be declared as pointer to const |
951 | constParameterPointer | 398 | style | Parameter 'window' 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 |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
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). |
262 | constVariablePointer | 398 | style | Variable 'tmp' can be declared as pointer to const |
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). |
1404 | constVariablePointer | 398 | style | Variable 'workspace_of_window' can be declared as pointer to const |
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). |
8712 | variableScope | 398 | style | The scope of the variable 'other_window' can be reduced. |
8712 | constVariablePointer | 398 | style | Variable 'other_window' can be declared as pointer to const |
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 |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
113 | constVariablePointer | 398 | style | Variable 'screen' can be declared as pointer to const |
616 | constVariablePointer | 398 | style | Variable 'win' can be declared as pointer to const |
src/core/xprops.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
308 | unsignedLessThanZero | 570 | style | Checking if unsigned expression 'results->n_items' is less than zero. |
877 | constVariablePointer | 398 | style | Variable 'raw' can be declared as pointer to const |
src/tools/croma-message.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
src/tools/croma-window-demo.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
719 | constParameterCallback | 398 | style | Parameter 'action' can be declared as pointer to const. However it seems that 'sleep_cb' is a callback function, if 'action' is declared with const you might also need to cast function pointer(s). |
720 | constParameterCallback | 398 | style | Parameter 'parameter' can be declared as pointer to const. However it seems that 'sleep_cb' is a callback function, if 'parameter' is declared with const you might also need to cast function pointer(s). |
831 | constParameterCallback | 398 | style | Parameter 'w' can be declared as pointer to const. However it seems that 'destroy_cb' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). |
src/ui/draw-workspace.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
src/ui/frames.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
1064 | constParameterPointer | 398 | style | Parameter 'frames' can be declared as pointer to const |
1399 | constVariablePointer | 398 | style | Variable 'rect' can be declared as pointer to const |
1738 | constVariablePointer | 398 | style | Variable 'rect' can be declared as pointer to const |
2253 | constVariablePointer | 398 | style | Variable 'frame' can be declared as pointer to const |
src/ui/gradient.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
110 | truncLongCastAssignment | 197 | style | int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. |
111 | truncLongCastAssignment | 197 | style | int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. |
112 | truncLongCastAssignment | 197 | style | int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. |
113 | truncLongCastAssignment | 197 | style | int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. |
182 | truncLongCastAssignment | 197 | style | int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. |
183 | truncLongCastAssignment | 197 | style | int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. |
184 | truncLongCastAssignment | 197 | style | int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. |
185 | truncLongCastAssignment | 197 | style | int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. |
239 | constVariablePointer | 398 | style | Variable 'ptr' can be declared as pointer to const |
467 | constVariablePointer | 398 | style | Variable 'ptr' can be declared as pointer to const |
546 | constVariablePointer | 398 | style | Variable 'end' can be declared as pointer to const |
584 | constVariablePointer | 398 | style | Variable 'gradient_end' can be declared as pointer to const |
609 | truncLongCastAssignment | 197 | style | int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. |
626 | truncLongCastAssignment | 197 | style | int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. |
src/ui/menu.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
106 | constVariablePointer | 398 | style | Variable 'pos' can be declared as pointer to const |
355 | variableScope | 398 | style | The scope of the variable 'md' can be reduced. |
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/preview-widget.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
497 | constVariablePointer | 398 | style | Variable 'fgeom' can be declared as pointer to const |
src/ui/tabpopup.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
87 | constVariablePointer | 398 | style | Variable 'popup' can be declared as pointer to const |
606 | constParameterPointer | 398 | style | Parameter 'w' can be declared as pointer to const |
src/ui/theme-parser.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
921 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
996 | constVariablePointer | 398 | style | Variable 'parent_layout' can be declared as pointer to const |
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. |
2179 | constVariablePointer | 398 | style | Variable 'pixbuf_pixels' can be declared as pointer to const |
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-viewer.c |
983 | constParameterPointer | 398 | style | Parameter 'widget' can be declared as pointer to const |
src/ui/theme.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
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 |
3433 | constVariablePointer | 398 | style | Variable 'pixels' can be declared as pointer to const |
3475 | constVariablePointer | 398 | style | Variable 'q' can be declared as pointer to const |
4596 | constParameterPointer | 398 | style | Parameter 'op_list' can be declared as pointer to const |
5120 | constVariablePointer | 398 | style | Variable 'op_list' can be declared as pointer to const |
5154 | constVariablePointer | 398 | style | Variable 'op_list' can be declared as pointer to const |
5930 | constVariablePointer | 398 | style | Variable 'style' can be declared as pointer to const |
5958 | constVariablePointer | 398 | style | Variable 'style' can be declared as pointer to const |
6152 | constVariablePointer | 398 | style | Variable 'd' 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 |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
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/main.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
src/wm-tester/test-resizing.c |
59 | constParameterCallback | 398 | style | Parameter 'display' can be declared as pointer to const. However it seems that 'all_events' is a callback function, if 'display' is declared with const you might also need to cast function pointer(s). |
60 | constParameterCallback | 398 | style | Parameter 'event' can be declared as pointer to const. However it seems that 'all_events' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). |
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. |
src/wm-tester/test-size-hints.c |
7 | constParameterCallback | 398 | style | Parameter 'display' can be declared as pointer to const. However it seems that 'all_events' is a callback function, if 'display' is declared with const you might also need to cast function pointer(s). |
8 | constParameterCallback | 398 | style | Parameter 'event' can be declared as pointer to const. However it seems that 'all_events' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). |