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:
a474a76
)
event-debug: Silence compiler warnings
author
Jonas Ådahl
<jadahl@gmail.com>
Tue, 15 Jul 2014 19:53:26 +0000
(21:53 +0200)
committer
Jonas Ådahl
<jadahl@gmail.com>
Tue, 15 Jul 2014 21:44:50 +0000
(23:44 +0200)
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
tools/event-debug.c
patch
|
blob
|
history
diff --git
a/tools/event-debug.c
b/tools/event-debug.c
index
3eade36
..
fb22f3b
100644
(file)
--- a/
tools/event-debug.c
+++ b/
tools/event-debug.c
@@
-199,7
+199,7
@@
static void
print_event_header(struct libinput_event *ev)
{
struct libinput_device *dev = libinput_event_get_device(ev);
- const char *type;
+ const char *type
= NULL
;
switch(libinput_event_get_type(ev)) {
case LIBINPUT_EVENT_NONE:
@@
-428,7
+428,7
@@
handle_and_print_events(struct libinput *li)
return rc;
}
-void
+
static
void
mainloop(struct libinput *li)
{
struct pollfd fds[2];