xserver/hw
Daniel Martin 02981fe1a8 xfree86: Fix set but not used warnings in lnx_platform
Those warnings are generated, when building without systemd support:

../hw/xfree86/os-support/linux/lnx_platform.c: In function ‘get_drm_info’:
../hw/xfree86/os-support/linux/lnx_platform.c:29:16: warning: variable ‘minor’ set but not used [-Wunused-but-set-variable]
     int major, minor, fd;
                ^~~~~
../hw/xfree86/os-support/linux/lnx_platform.c:29:9: warning: variable ‘major’ set but not used [-Wunused-but-set-variable]
     int major, minor, fd;
         ^~~~~

In this case the functions are macros, which don't use theese arguments.

v2: Add comments, why the warnings appear. Suggested by Emil Velikov

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
2017-11-29 14:50:12 -05:00
..
dmx glx: Drop references to <GL/internal/glcore.h> 2017-11-14 16:18:47 -05:00
kdrive glamor: Drop the non-VAO rendering path 2017-11-15 09:53:50 -05:00
vfb test: Add basic SYNC tests. 2017-09-20 13:19:27 -04:00
xfree86 xfree86: Fix set but not used warnings in lnx_platform 2017-11-29 14:50:12 -05:00
xnest Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
xquartz glx: Drop references to <GL/internal/glcore.h> 2017-11-14 16:18:47 -05:00
xwayland xwayland: Stop printing the EGL version 2017-11-07 15:57:54 -05:00
xwin Use ARRAY_SIZE all over the tree 2017-10-30 13:45:20 -04:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00
meson.build meson: Move Xvfb build under an option. 2017-09-20 13:19:21 -04:00