LineIdCWESeverityMessage
checkersReportinformationActive checkers: There was critical errors (use --checkers-report=<filename> to see details)
src/compositor/compositor-xrender.c
291constVariablePointer398styleVariable 'compositor' can be declared as pointer to const
376constVariablePointer398styleVariable 'g_data' can be declared as pointer to const
452constVariable398styleVariable 'radii' can be declared as const array
797constVariablePointer398styleVariable 'info' can be declared as pointer to const
932constVariablePointer398styleVariable 'info' can be declared as pointer to const
958constVariablePointer398styleVariable 'info' can be declared as pointer to const
1010constVariablePointer398styleVariable 'info' can be declared as pointer to const
1927constVariablePointer398styleVariable 'format' can be declared as pointer to const
2190constVariablePointer398styleVariable 'ncw' can be declared as pointer to const
2208constVariablePointer398styleVariable 'cw2' can be declared as pointer to const
2347constVariablePointer398styleVariable 'top' can be declared as pointer to const
2358nullPointerRedundantCheck476warningEither the condition 'info!=NULL' is redundant or there is possible null pointer dereference: info.
2840constVariablePointer398styleVariable 'xrc' can be declared as pointer to const
2840unreadVariable563styleVariable 'xrc' is assigned a value that is never used.
3247knownConditionTrueFalse570styleCondition 'old_focus' is always false
src/core/async-getprop.c
116constParameterPointer398styleParameter 'task' can be declared as pointer to const
213constVariablePointer398styleVariable 'reply' can be declared as pointer to const
370constVariablePointer398styleVariable 'end_lptr' can be declared as pointer to const
591constVariablePointer398styleVariable 'dpy' can be declared as pointer to const
595unreadVariable563styleVariable 'dpy' is assigned a value that is never used.
628constParameterPointer398styleParameter 'task' can be declared as pointer to const
634constParameterPointer398styleParameter 'task' can be declared as pointer to const
640constParameterPointer398styleParameter 'task' can be declared as pointer to const
src/core/boxes.c
1253constVariablePointer398styleVariable 'cur' can be declared as pointer to const
1272constVariablePointer398styleVariable 'cur' can be declared as pointer to const
1277constVariablePointer398styleVariable 'comp' can be declared as pointer to const
1593constParameterPointer398styleParameter 'rect' can be declared as pointer to const
1593constParameterPointer398styleParameter 'edge' can be declared as pointer to const
1652constVariablePointer398styleVariable 'rect' can be declared as pointer to const
src/core/constraints.c
354constParameterPointer398styleParameter 'new' can be declared as pointer to const
1063constParameterCallback398styleParameter '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).
1166constParameterCallback398styleParameter '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
719constVariablePointer398styleVariable 'display' can be declared as pointer to const
750constVariablePointer398styleVariable 'display' can be declared as pointer to const
src/core/display.c
405shadowVariable398styleLocal variable 'i' shadows outer variable
952constParameterPointer398styleParameter 'display' can be declared as pointer to const
955constVariablePointer398styleVariable 'tmp' can be declared as pointer to const
994constParameterPointer398styleParameter 'display' can be declared as pointer to const
995constParameterPointer398styleParameter 'xscreen' can be declared as pointer to const
997constVariablePointer398styleVariable 'tmp' can be declared as pointer to const
1214constParameterPointer398styleParameter 'display' can be declared as pointer to const
1271constParameterPointer398styleParameter 'display' can be declared as pointer to const
1659checkLevelNormalinformationLimiting ValueFlow analysis in function 'event_callback' since it is too complex. Please specify --check-level=exhaustive to perform full analysis.
1765constVariablePointer398styleVariable 'sev' can be declared as pointer to const
2719constParameterPointer398styleParameter 'display' can be declared as pointer to const
3260unknownMacroerrorThere is an unknown macro here somewhere. Configuration is required. If G_GINT64_FORMAT is a macro then please configure it.
3349constParameterPointer398styleParameter 'display' can be declared as pointer to const
3353constVariablePointer398styleVariable 'temp' can be declared as pointer to const
3355constVariablePointer398styleVariable 'screen' can be declared as pointer to const
4585constParameterPointer398styleParameter 'display' can be declared as pointer to const
4586constParameterPointer398styleParameter 'window' can be declared as pointer to const
4592constVariablePointer398styleVariable 'ping_data' can be declared as pointer to const
4619constParameterPointer398styleParameter 'screen' can be declared as pointer to const
4661constParameterPointer398styleParameter 'screen' can be declared as pointer to const
4702constParameterPointer398styleParameter 'screen' can be declared as pointer to const
4705constVariablePointer398styleVariable 'l' can be declared as pointer to const
4852constParameterPointer398styleParameter 'screen' can be declared as pointer to const
4920constParameterPointer398styleParameter 'display' can be declared as pointer to const
4924constVariablePointer398styleVariable 'tmp' can be declared as pointer to const
5197constParameterPointer398styleParameter 'display' can be declared as pointer to const
5252shadowVariable398styleLocal variable 'display' shadows outer variable
5302shadowVariable398styleLocal variable 'display' shadows outer variable
5356constParameterPointer398styleParameter 'display' can be declared as pointer to const
5514constParameterPointer398styleParameter 'display' can be declared as pointer to const
5520constParameterPointer398styleParameter 'display' can be declared as pointer to const
5526constParameterPointer398styleParameter 'display' can be declared as pointer to const
5532constParameterPointer398styleParameter 'display' can be declared as pointer to const
5538constParameterPointer398styleParameter 'display' can be declared as pointer to const
5545constParameterPointer398styleParameter 'display' can be declared as pointer to const
5554constParameterPointer398styleParameter 'display' can be declared as pointer to const
src/core/edge-resistance.c
233redundantAssignment563styleVariable 'compare' is reassigned a value before the old one has been used.
502constParameterPointer398styleParameter 'edges' can be declared as pointer to const
773constVariablePointer398styleVariable 'tmp' can be declared as pointer to const
826constVariablePointer398styleVariable 'edge' can be declared as pointer to const
src/core/effects.c
207constParameterPointer398styleParameter 'window_rect' can be declared as pointer to const
208constParameterPointer398styleParameter 'icon_rect' can be declared as pointer to const
227constParameterPointer398styleParameter 'window_rect' can be declared as pointer to const
228constParameterPointer398styleParameter 'icon_rect' can be declared as pointer to const
410constParameterPointer398styleParameter 'initial_rect' can be declared as pointer to const
411constParameterPointer398styleParameter 'destination_rect' can be declared as pointer to const
src/core/frame.c
447constParameterPointer398styleParameter 'frame' can be declared as pointer to const
src/core/group-props.c
124constParameterCallback398styleParameter 'display' can be declared as pointer to const. However it seems that 'init_wm_client_machine' is a callback function, if 'display' is declared with const you might also need to cast function pointer(s).
147constParameterCallback398styleParameter 'display' can be declared as pointer to const. However it seems that 'init_net_startup_id' is a callback function, if 'display' is declared with const you might also need to cast function pointer(s).
src/core/group.c
107constParameterPointer398styleParameter 'window' can be declared as pointer to const
260constParameterPointer398styleParameter 'group' can be declared as pointer to const
src/core/iconcache.c
178constParameterPointer398styleParameter 'argb_data' can be declared as pointer to const
357constVariablePointer398styleVariable 's' can be declared as pointer to const
578constParameterPointer398styleParameter 'display' can be declared as pointer to const
590constParameterPointer398styleParameter 'icon_cache' can be declared as pointer to const
src/core/keybindings.c
322constVariablePointer398styleVariable 'tmp' can be declared as pointer to const
326constVariablePointer398styleVariable 'combo' can be declared as pointer to const
383constVariablePointer398styleVariable 'tmp' can be declared as pointer to const
387constVariablePointer398styleVariable 'combo' can be declared as pointer to const
513constParameterPointer398styleParameter 'event' can be declared as pointer to const
748constParameterPointer398styleParameter 'bindings' can be declared as pointer to const
1180constVariablePointer398styleVariable 'random_screen' can be declared as pointer to const
1337knownConditionTrueFalse570styleCondition 'str' is always false
1438constParameterPointer398styleParameter 'event' can be declared as pointer to const
3668clarifyCondition398styleBoolean result is used in bitwise operation. Clarify expression with parentheses.
src/core/place.c
280constParameterPointer398styleParameter 'window' can be declared as pointer to const
422constVariablePointer398styleVariable 'tmp' can be declared as pointer to const
428constVariablePointer398styleVariable 'other' can be declared as pointer to const
515constParameterPointer398styleParameter 'work_area' can be declared as pointer to const
533constParameterPointer398styleParameter 'work_area' can be declared as pointer to const
632constVariablePointer398styleVariable 'w' can be declared as pointer to const
663constVariablePointer398styleVariable 'w' can be declared as pointer to const
src/core/prefs.c
720knownConditionTrueFalse570styleCondition 'old_value!=*((gboolean*)cursor->target)' is always false
2344constVariablePointer398styleVariable 's' can be declared as pointer to const
2348constVariablePointer398styleVariable 'c' can be declared as pointer to const
src/core/schema-bindings.c
57constVariablePointer398styleVariable 'keybinding_type' can be declared as pointer to const
src/core/screen.c
147constVariablePointer398styleVariable 'display' can be declared as pointer to const
163unreadVariable563styleVariable 'display' is assigned a value that is never used.
1009constParameterPointer398styleParameter 'screen' can be declared as pointer to const
1012constVariablePointer398styleVariable 'tmp' can be declared as pointer to const
1651constParameterPointer398styleParameter 'window' can be declared as pointer to const
2475constParameterPointer398styleParameter 'keep' can be declared as pointer to const
2883constParameterPointer398styleParameter 'screen' can be declared as pointer to const
2889constParameterPointer398styleParameter 'screen' can be declared as pointer to const
2895constParameterPointer398styleParameter 'screen' can be declared as pointer to const
2910constParameterPointer398styleParameter 'screen' can be declared as pointer to const
src/core/session.c
1070unknownMacroerrorThere 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
250constParameterCallback398styleParameter '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).
402constVariablePointer398styleVariable 'window_a' can be declared as pointer to const
403constVariablePointer398styleVariable 'window_b' can be declared as pointer to const
1354constParameterPointer398styleParameter 'window' can be declared as pointer to const
1383constVariablePointer398styleVariable 'not_this_one_group' can be declared as pointer to const
1511constParameterPointer398styleParameter 'window_a' can be declared as pointer to const
1512constParameterPointer398styleParameter 'window_b' can be declared as pointer to const
1536constVariablePointer398styleVariable 'window_a' can be declared as pointer to const
1537constVariablePointer398styleVariable 'window_b' can be declared as pointer to const
1578constVariablePointer398styleVariable 'tmp1' can be declared as pointer to const
1578constVariablePointer398styleVariable 'tmp2' can be declared as pointer to const
src/core/testasyncgetprop.c
215uselessAssignmentPtrArg398warningAssignment of function parameter has no effect outside the function. Did you forget dereferencing it?
src/core/util.c
533constVariablePointer398styleVariable 'tmp' can be declared as pointer to const
src/core/window-props.c
128constVariablePointer398styleVariable 'hooks' can be declared as pointer to const
219constParameterPointer398styleParameter 'a' can be declared as pointer to const
220constParameterPointer398styleParameter 'b' can be declared as pointer to const
495constVariablePointer398styleVariable 'pwd' can be declared as pointer to const
570constParameterPointer398styleParameter 'value' can be declared as pointer to const
630constParameterPointer398styleParameter 'value' can be declared as pointer to const
677constParameterPointer398styleParameter 'value' can be declared as pointer to const
952constParameterPointer398styleParameter 'value' can be declared as pointer to const
1029constParameterPointer398styleParameter 'hints' can be declared as pointer to const
src/core/window.c
165constParameterCallback398styleParameter 'window' can be declared as pointer to const. However it seems that 'is_desktop_or_dock_foreach' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s).
262constVariablePointer398styleVariable 'tmp' can be declared as pointer to const
418constVariablePointer398styleVariable 'scr' can be declared as pointer to const
1367constParameterPointer398styleParameter 'window' can be declared as pointer to const
1368constParameterPointer398styleParameter 'workspace' can be declared as pointer to const
1375constParameterCallback398styleParameter 'window' can be declared as pointer to const. However it seems that 'is_minimized_foreach' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s).
1404constVariablePointer398styleVariable 'workspace_of_window' can be declared as pointer to const
1964constParameterPointer398styleParameter 'window' can be declared as pointer to const
2110constVariablePointer398styleVariable 'w' can be declared as pointer to const
2605constParameterPointer398styleParameter 'saved_rect' can be declared as pointer to const
2764constParameterPointer398styleParameter 'window' can be declared as pointer to const
3265constParameterPointer398styleParameter 'window' can be declared as pointer to const
3395constParameterPointer398styleParameter 'display' can be declared as pointer to const
3440constVariablePointer398styleVariable 'parent' can be declared as pointer to const
3641duplicateCondition398styleThe if condition is the same as the previous if condition
3701knownConditionTrueFalse571styleCondition 'need_move_frame' is always true
6639constVariablePointer398styleVariable 'parent' can be declared as pointer to const
7753invalidTestForOverflow391warningInvalid test for overflow 'new_x+new_w<=new_x'; signed integer overflow is undefined behavior. Some mainstream compilers removes handling of overflows when optimising the code and change the code to 'new_w<=0'.
7753invalidTestForOverflow391warningInvalid test for overflow 'new_y+new_h<=new_y'; signed integer overflow is undefined behavior. Some mainstream compilers removes handling of overflows when optimising the code and change the code to 'new_h<=0'.
7845knownConditionTrueFalse571styleCondition 'esd.last_time==0' is always true
8193constVariablePointer398styleVariable 'group' can be declared as pointer to const
8194constVariablePointer398styleVariable 'other_group' can be declared as pointer to const
8211constParameterPointer398styleParameter 'other_window' can be declared as pointer to const
8379constParameterCallback398styleParameter 'window' can be declared as pointer to const. However it seems that 'find_ancestor_func' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s).
8712constVariablePointer398styleVariable 'other_window' can be declared as pointer to const
8715constVariablePointer398styleVariable 'workspace' can be declared as pointer to const
8782constParameterPointer398styleParameter 'window' can be declared as pointer to const
8818constParameterPointer398styleParameter 'window' can be declared as pointer to const
8824constParameterPointer398styleParameter 'window' can be declared as pointer to const
8836constParameterPointer398styleParameter 'window' can be declared as pointer to const
8842constParameterPointer398styleParameter 'window' can be declared as pointer to const
8848constParameterPointer398styleParameter 'window' can be declared as pointer to const
8877constParameterPointer398styleParameter 'window' can be declared as pointer to const
8889constParameterPointer398styleParameter 'window' can be declared as pointer to const
src/core/workspace.c
113constVariablePointer398styleVariable 'screen' can be declared as pointer to const
616constVariablePointer398styleVariable 'win' can be declared as pointer to const
src/core/xprops.c
308unsignedLessThanZero570styleChecking if unsigned expression 'results->n_items' is less than zero.
877constVariablePointer398styleVariable 'raw' can be declared as pointer to const
src/ui/frames.c
1399constVariablePointer398styleVariable 'rect' can be declared as pointer to const
1738constVariablePointer398styleVariable 'rect' can be declared as pointer to const
2253constVariablePointer398styleVariable 'frame' can be declared as pointer to const
src/ui/gradient.c
110truncLongCastAssignment197styleint result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information.
111truncLongCastAssignment197styleint result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information.
112truncLongCastAssignment197styleint result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information.
113truncLongCastAssignment197styleint result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information.
182truncLongCastAssignment197styleint result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information.
183truncLongCastAssignment197styleint result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information.
184truncLongCastAssignment197styleint result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information.
185truncLongCastAssignment197styleint result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information.
239constVariablePointer398styleVariable 'ptr' can be declared as pointer to const
467constVariablePointer398styleVariable 'ptr' can be declared as pointer to const
546constVariablePointer398styleVariable 'end' can be declared as pointer to const
584constVariablePointer398styleVariable 'gradient_end' can be declared as pointer to const
609truncLongCastAssignment197styleint result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information.
626truncLongCastAssignment197styleint 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
106constVariablePointer398styleVariable 'pos' can be declared as pointer to const
412shadowVariable398styleLocal variable 'md' shadows outer variable
413shadowVariable398styleLocal variable 'key' shadows outer variable
414shadowVariable398styleLocal variable 'mods' shadows outer variable
src/ui/preview-widget.c
497constVariablePointer398styleVariable 'fgeom' can be declared as pointer to const
src/ui/tabpopup.c
87constVariablePointer398styleVariable 'popup' can be declared as pointer to const
606constParameterPointer398styleParameter 'w' can be declared as pointer to const
src/ui/theme-parser.c
921varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
996constVariablePointer398styleVariable 'parent_layout' can be declared as pointer to const
1006varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1095varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1129varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1232varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1274varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1416varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1489varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1545varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1716varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1803varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
1879varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2000varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2047varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2113varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2179constVariablePointer398styleVariable 'pixbuf_pixels' can be declared as pointer to const
2187varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2354varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2441varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2506varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2562varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2626varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2687varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2771varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2880varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2929varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2984varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
3093varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.
4254constParameterPointer398styleParameter 'error' can be declared as pointer to const
src/ui/theme.c
209constParameterPointer398styleParameter 'new_color' can be declared as pointer to const
603constParameterPointer398styleParameter 'theme' can be declared as pointer to const
698constParameterPointer398styleParameter 'to_strip' can be declared as pointer to const
1406nullPointerRedundantCheck476warningEither the condition 'color_name_start==NULL' is redundant or there is possible null pointer dereference: fallback_str_start.
2581ctunullpointer476errorNull pointer dereference: env
3059constParameterPointer398styleParameter 'env' can be declared as pointer to const
3433constVariablePointer398styleVariable 'pixels' can be declared as pointer to const
3475constVariablePointer398styleVariable 'q' can be declared as pointer to const
4596constParameterPointer398styleParameter 'op_list' can be declared as pointer to const
5120constVariablePointer398styleVariable 'op_list' can be declared as pointer to const
5154constVariablePointer398styleVariable 'op_list' can be declared as pointer to const
5930constVariablePointer398styleVariable 'style' can be declared as pointer to const
5958constVariablePointer398styleVariable 'style' can be declared as pointer to const
6152constVariablePointer398styleVariable 'd' can be declared as pointer to const
6373constParameterPointer398styleParameter 'theme' can be declared as pointer to const
6883constParameterPointer398styleParameter 'a' can be declared as pointer to const
src/ui/ui.c
924unusedStructMember563stylestruct member 'MetaStockIcon::stock_id' is never used.
925unusedStructMember563stylestruct member 'MetaStockIcon::icon_data' is never used.
src/wm-tester/test-resizing.c
139redundantAssignment563styleVariable 'mask' is reassigned a value before the old one has been used.
140redundantAssignment563styleVariable 'mask' is reassigned a value before the old one has been used.