Re: [PATCH xserver] xfree86: Hush some warnings when Xv is disabled

2017-09-25 Thread Eric Anholt
Adam Jackson writes: > Spotted by Appveyor: > > xf86Crtc.c:3281:1: warning: ‘xf86_crtc_box_area’ defined but not used > [-Wunused-function] > xf86_crtc_box_area(BoxPtr box) > ^~ > xf86Crtc.c:3268:1: warning: ‘x86_crtc_box’ defined but not used >

[PATCH xserver] xfree86: Hush some warnings when Xv is disabled

2017-09-25 Thread Adam Jackson
Spotted by Appveyor: xf86Crtc.c:3281:1: warning: ‘xf86_crtc_box_area’ defined but not used [-Wunused-function] xf86_crtc_box_area(BoxPtr box) ^~ xf86Crtc.c:3268:1: warning: ‘x86_crtc_box’ defined but not used [-Wunused-function] x86_crtc_box(xf86CrtcPtr crtc, BoxPtr crtc_box)