projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1d287b
)
elput: Fix compilation warning (GCC)
author
Jean-Philippe Andre
<jp.andre@samsung.com>
Thu, 8 Jun 2017 02:18:11 +0000
(11:18 +0900)
committer
Jean-Philippe Andre
<jp.andre@samsung.com>
Fri, 9 Jun 2017 02:53:47 +0000
(11:53 +0900)
Use GCC sematic {} instead of {0} as the array members are structs,
thus {0} isn't valid either.
src/lib/elput/elput_evdev.c
patch
|
blob
|
history
diff --git
a/src/lib/elput/elput_evdev.c
b/src/lib/elput/elput_evdev.c
index
a8b4903
..
0a5c018
100644
(file)
--- 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
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);