elput: Fix compilation warning (GCC)

Use GCC sematic {} instead of {0} as the array members are structs,
thus {0} isn't valid either.
This commit is contained in:
Jean-Philippe Andre 2017-06-08 11:18:11 +09:00
parent b1d287bbf2
commit f2783b4332
1 changed files with 1 additions and 1 deletions

View File

@ -1416,7 +1416,7 @@ _tablet_tool_axis(struct libinput_device *idev, struct libinput_event_tablet_too
struct libinput_tablet_tool *tool;
Elput_Device *dev = libinput_device_get_user_data(idev);
Ecore_Event_Axis_Update *ev;
Ecore_Axis ax[8] = {0}, *axis = NULL;
Ecore_Axis ax[8] = {}, *axis = NULL;
int i, num = 0;
ptr = _evdev_pointer_get(dev->seat);