Skip to content

Commit

Permalink
gcc-analyzer: Fix -Wanalyzer-deref-before-check
Browse files Browse the repository at this point in the history
It's checked upstream anyway.
  • Loading branch information
Tamaranch committed Jun 5, 2024
1 parent 812e498 commit 1009c19
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/monitor_chooser.c
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,6 @@ paint_monitor (GtkWidget *widget,
PangoLayout *layout;
PangoFontDescription *font_description;

g_return_if_fail (NULL != monitor);

/*
* Set path for monitor outline and background-color.
*/
Expand Down

0 comments on commit 1009c19

Please sign in to comment.