Silence gcc: report_{x, y} are getting initialized.
authorCyril Brulebois <kibi@debian.org>
Fri, 3 Jun 2011 13:59:14 +0000 (15:59 +0200)
committerCyril Brulebois <kibi@debian.org>
Fri, 3 Jun 2011 13:59:14 +0000 (15:59 +0200)
commit1fea6530eeca06b0d8d15a9327f87063292e1e6d
treee95baddfcf2009b3f7fb08ad546e756535ac06ad
parentfd61e53ed08cec2b3af688a55507477f6ef30544
Silence gcc: report_{x, y} are getting initialized.

Get us rid of:
|   CC     acecad.lo
| acecad.c: In function 'USBReadInput':
| acecad.c:1052:43: warning: 'report_y' may be used uninitialized in this function [-Wuninitialized]
| acecad.c:1052:43: warning: 'report_x' may be used uninitialized in this function [-Wuninitialized]

Both code paths (with XORG_BOTCHED_INPUT or not) will lead report_x and
report_y to be set, but make sure the compiler stops guessing.

Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Cyril Brulebois <kibi@debian.org>
src/acecad.c