mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-03 11:10:29 +01:00
event-debug: Silence compiler warnings
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
parent
a474a7648d
commit
85c4500494
1 changed files with 2 additions and 2 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue