evdev: fix uninitialised pointer value
authorTiago Vignatti <tiago.vignatti@intel.com>
Fri, 20 Jan 2012 16:47:46 +0000 (18:47 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 20 Jan 2012 18:35:27 +0000 (13:35 -0500)
commita12d6113cee529e5c3e20ea182163e512305e867
tree224e56b59a8e15476828346cd5fcf4d3ad273ef5
parent5f5324e0988cd287f931c2fa6b66410a008d9be2
evdev: fix uninitialised pointer value

==30224== Conditional jump or move depends on uninitialised value(s)
==30224==    at 0x40EE3A0: evdev_flush_motion (evdev.c:284)
==30224==    by 0x40EE6DC: evdev_input_device_data (evdev.c:352)
==30224==    by 0x4034710: wl_event_source_fd_dispatch (event-loop.c:76)
==30224==    by 0x4035171: wl_event_loop_dispatch (event-loop.c:462)
==30224==    by 0x4032F76: wl_display_run (wayland-server.c:785)
==30224==    by 0x8050972: main (compositor.c:2183)

Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
src/evdev.c