mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-09 11:50:31 +01:00
tablet: initialize all unused dispatch callbacks to NULL
evdev-tablet.c:545:1: warning: missing initializer for field 'device_added' of 'struct evdev_dispatch_interface' [-Wmissing-field-initializers] and similar Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
83f97991a0
commit
1809baa59e
1 changed files with 6 additions and 1 deletions
|
|
@ -541,7 +541,12 @@ tablet_destroy(struct evdev_dispatch *dispatch)
|
|||
|
||||
static struct evdev_dispatch_interface tablet_interface = {
|
||||
tablet_process,
|
||||
tablet_destroy
|
||||
tablet_destroy,
|
||||
NULL, /* device_added */
|
||||
NULL, /* device_removed */
|
||||
NULL, /* device_suspended */
|
||||
NULL, /* device_resumed */
|
||||
NULL, /* tag_device */
|
||||
};
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue