summaryrefslogtreecommitdiff
path: root/mate-panel/panel-util.c
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2023-11-15 15:32:56 +0100
committerLuke from DC <[email protected]>2023-11-21 20:19:58 +0000
commit6a3df1342b957f0293c7a9f05b3037dff3156487 (patch)
treeb27ee0cef0b942e7360f7d677453c94c13063048 /mate-panel/panel-util.c
parent17b87e321bfca409c31ce4b4e0e3326eeef92b88 (diff)
downloadmate-panel-6a3df1342b957f0293c7a9f05b3037dff3156487.tar.bz2
mate-panel-6a3df1342b957f0293c7a9f05b3037dff3156487.tar.xz
Remove a redundant NULL check
`info` cannot be NULL, and if it was it'd already have crashed above. > mate-panel/panel.c:893:34: warning: Either the condition 'info!=((void*)0)' is redundant or there is possible null pointer dereference: info. [nullPointerRedundantCheck] > parent = gtk_widget_get_parent (info->widget); > ^ > mate-panel/panel.c:895:11: note: Assuming that condition 'info!=((void*)0)' is not redundant > if (info != NULL && > ^ > mate-panel/panel.c:893:34: note: Null pointer dereference > parent = gtk_widget_get_parent (info->widget); > ^
Diffstat (limited to 'mate-panel/panel-util.c')
0 files changed, 0 insertions, 0 deletions