tp_tap_config_count(struct libinput_device *device)
{
struct evdev_dispatch *dispatch;
- struct tp_dispatch *tp;
+ struct tp_dispatch *tp = NULL;
dispatch = ((struct evdev_device *) device)->dispatch;
tp = container_of(dispatch, tp, base);
enum libinput_config_tap_state enabled)
{
struct evdev_dispatch *dispatch;
- struct tp_dispatch *tp;
+ struct tp_dispatch *tp = NULL;
dispatch = ((struct evdev_device *) device)->dispatch;
tp = container_of(dispatch, tp, base);
tp_tap_config_is_enabled(struct libinput_device *device)
{
struct evdev_dispatch *dispatch;
- struct tp_dispatch *tp;
+ struct tp_dispatch *tp = NULL;
dispatch = ((struct evdev_device *) device)->dispatch;
tp = container_of(dispatch, tp, base);