• Bastien Nocera's avatar
    lib: Fix unintialised variable warning in fp_get_next_timeout() · 0ddd11f8
    Bastien Nocera authored
    libfprint/fpi-poll.c:398:11: warning: The left operand of '==' is a garbage value
            else if (timercmp(&fprint_timeout, &libusb_timeout, <))
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/sys/time.h:162:17: note: expanded from macro 'timercmp'
      (((a)->tv_sec == (b)->tv_sec) ?                                             \
        ~~~~~~~~~~~ ^
    0ddd11f8
fpi-poll.c 13.5 KB