mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 06:50:05 +01:00
Fix compiler warnings for missing initializers
timer.c: In function ‘libinput_timer_arm_timer_fd’: timer.c:48: warning: missing initializer timer.c:48: warning: (near initialization for ‘its.it_value.tv_nsec’) Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
f28eb5ecec
commit
5ab2bcad6f
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ libinput_timer_arm_timer_fd(struct libinput *libinput)
|
|||
{
|
||||
int r;
|
||||
struct libinput_timer *timer;
|
||||
struct itimerspec its = { { 0 }, { 0 } };
|
||||
struct itimerspec its = { { 0, 0 }, { 0, 0 } };
|
||||
uint64_t earliest_expire = UINT64_MAX;
|
||||
|
||||
list_for_each(timer, &libinput->timer.list, link) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue