Skip to content

[WIP] Fix GCC warning

Ghost User requested to merge (removed):gcc-warning into master

This patch removes an unreachable codepath in order to fix the following GCC warning:

xfce-desktop.c: In function ‘xfce_desktop_get_cycle_backdrop’:
xfce-desktop.c:1966:17: warning: the comparison will always evaluate as ‘false’ for the address of ‘monitor’ will never be NULL [-Waddress]
 1966 |     if(&monitor == NULL

Please merge. Thanks.

Edited by Ghost User

Merge request reports

Loading