aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend/drm.h
diff options
context:
space:
mode:
authorOrestis Floros <orestisf1993@gmail.com>2018-03-31 12:55:36 +0300
committerOrestis Floros <orestisf1993@gmail.com>2018-03-31 12:57:12 +0300
commit3f6823092ad9bfa1def3c33e5d3c2d3cdbc676fa (patch)
tree3feeabe1b51df3550c6c8742169c08a15163cf62 /include/wlr/backend/drm.h
parent8ed0e9f34341c77a9be6c0ab98ed18f83dca2c0d (diff)
Initialize roots_output to fix -Wmaybe-uninitialized
With -O2: ../rootston/desktop.c: In function ‘desktop_surface_at’: ../rootston/desktop.c:714:18: error: ‘roots_output’ may be used uninitialized in this function [-Werror=maybe-uninitialized] if ((surface = layer_surface_at(roots_output, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &roots_output->layers[ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM], ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ox, oy, sx, sy))) { ~~~~~~~~~~~~~~~
Diffstat (limited to 'include/wlr/backend/drm.h')
0 files changed, 0 insertions, 0 deletions