From 22db196815b813ff1c4806dd4cbb06788763d6b6 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 31 Jan 2011 13:39:46 +1000 Subject: Static atoms don't need to be initialized to 0. Signed-off-by: Peter Hutterer --- src/evdev.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') 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) -- cgit v1.2.3