mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-30 20:00:09 +01:00
touchpad: Silence -Wmaybe-uninitialized compiler warning
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
parent
3f349026cf
commit
6834dd4628
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ tp_get_touch(struct tp_dispatch *tp, unsigned int slot)
|
|||
static inline void
|
||||
tp_begin_touch(struct tp_dispatch *tp, struct tp_touch *t)
|
||||
{
|
||||
struct tp_touch *tmp;
|
||||
struct tp_touch *tmp = NULL;
|
||||
|
||||
if (t->state != TOUCH_UPDATE) {
|
||||
tp_motion_history_reset(t);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue