|
| checkersReport | | information | Active checkers: There was critical errors (use --checkers-report=<filename> to see details) |
| src/compositor/compositor-xrender.c |
| 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). |
| 3247 | knownConditionTrueFalse | 570 | style | Condition 'old_focus' is always false |
| 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 |
| 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 |
| 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/delete.c |
| 153 | staticFunction | | style | The function 'meta_window_kill' should have static linkage since it is not used outside of its translation unit. |
| 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 |
| 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 |
| 1765 | constVariablePointer | 398 | style | Variable 'sev' can be declared as pointer to const |
| 1951 | knownConditionTrueFalse | 571 | style | Condition '!unmodified' is always true |
| 2351 | knownConditionTrueFalse | 571 | style | Condition 'window' is always true |
| 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 |
| 4243 | staticFunction | | style | The function 'meta_display_queue_retheme_all_windows' should have static linkage since it is not used outside of its translation unit. |
| 4316 | staticFunction | | style | The function 'meta_is_syncing' should have static linkage since it is not used outside of its translation unit. |
| 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 |
| 4602 | staticFunction | | style | The function 'get_focussed_group' should have static linkage since it is not used outside of its translation unit. |
| 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. |
| 5139 | staticFunction | | style | The function 'meta_display_unmanage_screen' should have static linkage since it is not used outside of its translation unit. |
| 5179 | staticFunction | | style | The function 'meta_display_stack_cmp' should have static linkage since it is not used outside of its translation unit. |
| 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 |
| 5347 | staticFunction | | style | The function 'meta_display_decrement_focus_sentinel' should have static linkage since it is not used outside of its translation unit. |
| 5356 | constParameterPointer | 398 | style | Parameter 'display' can be declared as pointer to const |
| 5356 | staticFunction | | style | The function 'meta_display_focus_sentinel_clear' should have static linkage since it is not used outside of its translation unit. |
| 5503 | staticFunction | | style | The function 'meta_display_remove_autoraise_callback' should have static linkage since it is not used outside of its translation unit. |
| 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 |
| 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 |
| 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 |
| 590 | staticFunction | | style | The function 'meta_icon_cache_get_icon_invalidated' should have static linkage since it is not used outside of its translation unit. |
| src/core/keybindings.c |
| 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/place.c |
| 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 |
| 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 |
| 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 |
| 1190 | staticFunction | | style | The function 'meta_screen_set_cursor' should have static linkage since it is not used outside of its translation unit. |
| 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 |
| 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 |
| 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 |
| 533 | constVariablePointer | 398 | style | Variable 'tmp' can be declared as pointer to const |
| src/core/window-props.c |
| 81 | staticFunction | | style | The function 'meta_window_reload_property' should have static linkage since it is not used outside of its translation unit. |
| 112 | staticFunction | | style | The function 'meta_window_reload_properties_from_xwindow' should have static linkage since it is not used outside of its translation unit. |
| 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 |
| 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 |
| 1964 | staticFunction | | style | The function '__window_is_terminal' should have static linkage since it is not used outside of its translation unit. |
| 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 |
| 2970 | staticFunction | | style | The function 'meta_window_make_fullscreen_internal' should have static linkage since it is not used outside of its translation unit. |
| 3060 | staticFunction | | style | The function 'meta_window_update_fullscreen_monitors' should have static linkage since it is not used outside of its translation unit. |
| 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 |
| 4069 | staticFunction | | style | The function 'meta_window_get_gravity_position' should have static linkage since it is not used outside of its translation unit. |
| 4824 | staticFunction | | style | The function 'meta_window_move_resize_request' should have static linkage since it is not used outside of its translation unit. |
| 6228 | staticFunction | | style | The function 'meta_window_get_workspaces' should have static linkage since it is not used outside of its translation unit. |
| 6639 | constVariablePointer | 398 | style | Variable 'parent' can be declared as pointer to const |
| 7063 | staticFunction | | style | The function 'meta_window_shove_titlebar_onscreen' should have static linkage since it is not used outside of its translation unit. |
| 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 |
| 8013 | staticFunction | | style | The function 'meta_window_set_gravity' should have static linkage since it is not used outside of its translation unit. |
| 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). |
| 8394 | staticFunction | | style | The function 'meta_window_is_ancestor_of_transient' should have static linkage since it is not used outside of its translation unit. |
| 8586 | staticFunction | | style | The function 'meta_window_update_layer' should have static linkage since it is not used outside of its translation unit. |
| 8643 | staticFunction | | style | The function 'meta_window_stack_just_below' should have static linkage since it is not used outside of its translation unit. |
| 8708 | staticFunction | | style | The function 'meta_window_set_demands_attention' should have static linkage since it is not used outside of its translation unit. |
| 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 |
| 8772 | staticFunction | | style | The function 'meta_window_unset_demands_attention' should have static linkage since it is not used outside of its translation unit. |
| 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 |
| 8889 | staticFunction | | style | The function 'meta_window_is_client_decorated' should have static linkage since it is not used outside of its translation unit. |
| src/core/workspace.c |
| 113 | constVariablePointer | 398 | style | Variable 'screen' can be declared as pointer to const |
| 300 | staticFunction | | style | The function 'meta_workspace_queue_calc_showing' should have static linkage since it is not used outside of its translation unit. |
| 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. |
| 877 | constVariablePointer | 398 | style | Variable 'raw' can be declared as pointer to const |
| src/tools/croma-window-demo.c |
| 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/frames.c |
| 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 |
| 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 |
| 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 |
| 497 | constVariablePointer | 398 | style | Variable 'fgeom' can be declared as pointer to const |
| src/ui/tabpopup.c |
| 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 |
| 801 | staticFunction | | style | The function 'meta_select_image_get_type' should have static linkage since it is not used outside of its translation unit. |
| 983 | staticFunction | | style | The function 'meta_select_workspace_get_type' should have static linkage since it is not used outside of its translation unit. |
| src/ui/theme-parser.c |
| 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 |
| 209 | constParameterPointer | 398 | style | Parameter 'new_color' can be declared as pointer to const |
| 515 | staticFunction | | style | The function 'meta_frame_layout_get_borders' should have static linkage since it is not used outside of its translation unit. |
| 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 |
| 731 | staticFunction | | style | The function 'meta_frame_layout_calc_geometry' should have static linkage since it is not used outside of its translation unit. |
| 1177 | staticFunction | | style | The function 'meta_gradient_spec_free' should have static linkage since it is not used outside of its translation unit. |
| 1189 | staticFunction | | style | The function 'meta_gradient_spec_render' should have static linkage since it is not used outside of its translation unit. |
| 1262 | staticFunction | | style | The function 'meta_alpha_gradient_spec_get_mask' should have static linkage since it is not used outside of its translation unit. |
| 1294 | staticFunction | | style | The function 'meta_color_spec_new' should have static linkage since it is not used outside of its translation unit. |
| 1333 | staticFunction | | style | The function 'meta_color_spec_free' should have static linkage since it is not used outside of its translation unit. |
| 1406 | nullPointerRedundantCheck | 476 | warning | Either the condition 'color_name_start==NULL' is redundant or there is possible null pointer dereference: fallback_str_start. |
| 1808 | staticFunction | | style | The function 'meta_color_spec_render' should have static linkage since it is not used outside of its translation unit. |
| 2581 | ctunullpointer | 476 | error | Null pointer dereference: env |
| 2903 | staticFunction | | style | The function 'meta_parse_position_expression' should have static linkage since it is not used outside of its translation unit. |
| 2940 | staticFunction | | style | The function 'meta_parse_size_expression' should have static linkage since it is not used outside of its translation unit. |
| 2973 | staticFunction | | style | The function 'meta_theme_replace_constants' should have static linkage since it is not used outside of its translation unit. |
| 3059 | constParameterPointer | 398 | style | Parameter 'env' can be declared as pointer to const |
| 3078 | staticFunction | | style | The function 'meta_draw_spec_free' should have static linkage since it is not used outside of its translation unit. |
| 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 |
| 4432 | staticFunction | | style | The function 'meta_draw_op_draw_with_style' should have static linkage since it is not used outside of its translation unit. |
| 4511 | staticFunction | | style | The function 'meta_draw_op_list_draw_with_style' should have static linkage since it is not used outside of its translation unit. |
| 4596 | constParameterPointer | 398 | style | Parameter 'op_list' can be declared as pointer to const |
| 4965 | staticFunction | | style | The function 'meta_frame_style_draw_with_style' should have static linkage since it is not used outside of its translation unit. |
| 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 |
| 5205 | staticFunction | | style | The function 'meta_frame_style_draw' should have static linkage since it is not used outside of its translation unit. |
| 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 |
| 6148 | staticFunction | | style | The function 'meta_theme_lookup_float_constant' should have static linkage since it is not used outside of its translation unit. |
| 6152 | constVariablePointer | 398 | style | Variable 'd' can be declared as pointer to const |
| 6291 | staticFunction | | style | The function 'meta_color_component_from_string' should have static linkage since it is not used outside of its translation unit. |
| 6355 | staticFunction | | style | The function 'meta_button_state_to_string' should have static linkage since it is not used outside of its translation unit. |
| 6373 | constParameterPointer | 398 | style | Parameter 'theme' can be declared as pointer to const |
| 6422 | staticFunction | | style | The function 'meta_button_type_to_string' should have static linkage since it is not used outside of its translation unit. |
| 6562 | staticFunction | | style | The function 'meta_frame_state_to_string' should have static linkage since it is not used outside of its translation unit. |
| 6605 | staticFunction | | style | The function 'meta_frame_resize_to_string' should have static linkage since it is not used outside of its translation unit. |
| 6636 | staticFunction | | style | The function 'meta_frame_focus_to_string' should have static linkage since it is not used outside of its translation unit. |
| 6677 | staticFunction | | style | The function 'meta_frame_type_to_string' should have static linkage since it is not used outside of its translation unit. |
| 6883 | constParameterPointer | 398 | style | Parameter 'a' can be declared as pointer to const |
| 7024 | redundantAssignment | 563 | style | Variable '*l' is assigned an expression that holds the same value. |
| 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 |
| 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). |