summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-06-08 11:18:11 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-06-09 11:53:47 +0900
commitf2783b4332d501fc4eece5c6d1906f4295e3d559 (patch)
tree2e5f9e8f35cd0656657775470d9f8998af9d55d4 /src
parentb1d287bbf2f1b7edd4404db93a9365d33a08835c (diff)
elput: Fix compilation warning (GCC)
Use GCC sematic {} instead of {0} as the array members are structs, thus {0} isn't valid either.
Diffstat (limited to 'src')
-rw-r--r--src/lib/elput/elput_evdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elput/elput_evdev.c b/src/lib/elput/elput_evdev.c
index a8b4903e02..0a5c018dc6 100644
--- a/src/lib/elput/elput_evdev.c
+++ b/src/lib/elput/elput_evdev.c
@@ -1416,7 +1416,7 @@ _tablet_tool_axis(struct libinput_device *idev, struct libinput_event_tablet_too
1416 struct libinput_tablet_tool *tool; 1416 struct libinput_tablet_tool *tool;
1417 Elput_Device *dev = libinput_device_get_user_data(idev); 1417 Elput_Device *dev = libinput_device_get_user_data(idev);
1418 Ecore_Event_Axis_Update *ev; 1418 Ecore_Event_Axis_Update *ev;
1419 Ecore_Axis ax[8] = {0}, *axis = NULL; 1419 Ecore_Axis ax[8] = {}, *axis = NULL;
1420 int i, num = 0; 1420 int i, num = 0;
1421 1421
1422 ptr = _evdev_pointer_get(dev->seat); 1422 ptr = _evdev_pointer_get(dev->seat);