dix: move #if statement to stop compiler warning
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 10 Aug 2011 04:37:41 +0000 (14:37 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 25 Oct 2011 04:06:41 +0000 (14:06 +1000)
commit1ecc427a39d41e723912492b846512fd0ad9af2d
treede9860cdac15c3c001479804887070971721ca74
parentf9067c1dd8ce9058eb48a20dfae52bc8cf3a1e55
dix: move #if statement to stop compiler warning

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.hutterer@who-t.net>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
dix/ptrveloc.c