diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-01-31 13:39:46 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-01-31 13:39:46 +1000 |
commit | 22db196815b813ff1c4806dd4cbb06788763d6b6 (patch) | |
tree | 3430ae8f2b555a08d5f1c0cfbca7c4f5ece344c2 | |
parent | Replace xf86Msg() with xf86IDrvMsg(). (diff) | |
download | xf86-input-evdev-22db196815b813ff1c4806dd4cbb06788763d6b6.tar.gz xf86-input-evdev-22db196815b813ff1c4806dd4cbb06788763d6b6.tar.bz2 xf86-input-evdev-22db196815b813ff1c4806dd4cbb06788763d6b6.zip |
Static atoms don't need to be initialized to 0.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/evdev.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/evdev.c b/src/evdev.c index 38de9f5..74dd04d 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -108,11 +108,11 @@ static void EvdevInitButtonLabels(EvdevPtr pEvdev, int natoms, Atom *atoms); static void EvdevInitProperty(DeviceIntPtr dev); static int EvdevSetProperty(DeviceIntPtr dev, Atom atom, XIPropertyValuePtr val, BOOL checkonly); -static Atom prop_invert = 0; -static Atom prop_calibration = 0; -static Atom prop_swap = 0; -static Atom prop_axis_label = 0; -static Atom prop_btn_label = 0; +static Atom prop_invert; +static Atom prop_calibration; +static Atom prop_swap; +static Atom prop_axis_label; +static Atom prop_btn_label; /* All devices the evdev driver has allocated and knows about. * MAXDEVICES is safe as null-terminated array, as two devices (VCP and VCK) |