projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b37734
)
evdev: fix a warning.
39/84939/1
accepted/tizen/3.0/common/20161114.110959
accepted/tizen/3.0/ivi/20161011.044337
accepted/tizen/3.0/mobile/20161015.033515
accepted/tizen/3.0/tv/20161016.005006
accepted/tizen/3.0/wearable/20161015.083236
accepted/tizen/common/20160824.154219
accepted/tizen/ivi/20160824.055136
accepted/tizen/mobile/20160824.054941
accepted/tizen/tv/20160824.055041
accepted/tizen/wearable/20160824.055109
submit/tizen/20160823.022539
submit/tizen_3.0_common/20161104.104000
submit/tizen_3.0_ivi/20161010.000003
submit/tizen_3.0_mobile/20161015.000003
submit/tizen_3.0_tv/20161015.000003
submit/tizen_3.0_wearable/20161015.000003
author
Gwanglim Lee
<gl77.lee@samsung.com>
Tue, 23 Aug 2016 02:16:18 +0000
(11:16 +0900)
committer
Gwanglim Lee
<gl77.lee@samsung.com>
Tue, 23 Aug 2016 02:16:18 +0000
(11:16 +0900)
fd should have initialized value.
Change-Id: I699f8c714210d59aef57bf715ded91739bf1342a
src/evdev.c
patch
|
blob
|
history
diff --git
a/src/evdev.c
b/src/evdev.c
index 4067062a9f46ad1d8734c9a1c5e71cd3738a9e0d..951b76827adaa108814203b688571cfc001e45a9 100644
(file)
--- a/
src/evdev.c
+++ b/
src/evdev.c
@@
-1767,7
+1767,7
@@
evdev_device_create(struct libinput_seat *seat,
struct libinput *libinput = seat->libinput;
struct evdev_device *device = NULL;
int rc;
- int fd;
+ int fd
= -1
;
int unhandled_device = 0;
const char *devnode;
char buf[STRERR_BUFSIZE] = {0, };