Re: [PATCH RESEND 4/5] dix: move #if statement to stop compiler warning

2011-10-21 Thread Simon Thum
On 10/20/2011 05:05 AM, Peter Hutterer wrote: ptrveloc.c: In function 'QueryTrackers': ptrveloc.c:598:34: warning: variable 'used_offset' set but not used [-Wunused-but-set-variable] used_offset is used, but only in the debugging code. Move the #if statement to ignore that warning. Clever

Re: [PATCH RESEND 4/5] dix: move #if statement to stop compiler warning

2011-10-20 Thread Daniel Stone
On 20 October 2011 04:05, Peter Hutterer peter.hutte...@who-t.net wrote: ptrveloc.c: In function 'QueryTrackers': ptrveloc.c:598:34: warning: variable 'used_offset' set but not used [-Wunused-but-set-variable] used_offset is used, but only in the debugging code. Move the #if statement to

[PATCH RESEND 4/5] dix: move #if statement to stop compiler warning

2011-10-19 Thread Peter Hutterer
ptrveloc.c: In function 'QueryTrackers': ptrveloc.c:598:34: warning: variable 'used_offset' set but not used [-Wunused-but-set-variable] used_offset is used, but only in the debugging code. Move the #if statement to ignore that warning. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net ---

Re: [PATCH RESEND 4/5] dix: move #if statement to stop compiler warning

2011-10-19 Thread Alan Coopersmith
On 10/19/11 20:05, Peter Hutterer wrote: ptrveloc.c: In function 'QueryTrackers': ptrveloc.c:598:34: warning: variable 'used_offset' set but not used [-Wunused-but-set-variable] used_offset is used, but only in the debugging code. Move the #if statement to ignore that warning. Signed-off-by: