Re: [PATCH xserver 01/11] xfree86: Fix set but not used warnings in lnx_platform

2017-11-08 Thread Daniel Martin
On 7 November 2017 at 13:57, Emil Velikov wrote: > On 7 November 2017 at 09:38, Daniel Martin wrote: >> ../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-s

Re: [PATCH xserver 01/11] xfree86: Fix set but not used warnings in lnx_platform

2017-11-07 Thread Emil Velikov
On 7 November 2017 at 09:38, Daniel Martin wrote: > ../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; >

[PATCH xserver 01/11] xfree86: Fix set but not used warnings in lnx_platform

2017-11-07 Thread Daniel Martin
../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