Robin Gareus
df60eca33c
Initialize uninitialized variable
...
This fixes a potentially undefined branch if the USB device list is empty.
dev is NULL, the loop is never entered, 'r' isn't set.
if (!dev && !r) is undefined.
2019-08-21 03:05:17 +02:00
..
2019-08-03 15:53:18 +02:00
2019-08-21 03:05:17 +02:00
2019-08-03 15:53:18 +02:00
2019-08-03 15:53:18 +02:00
2019-08-03 15:53:18 +02:00
2019-08-03 15:53:18 +02:00
2019-08-03 15:53:18 +02:00
2019-08-03 15:53:18 +02:00
2019-08-03 15:53:18 +02:00
2019-08-03 15:53:18 +02:00
2019-08-06 11:12:19 -07:00
2019-08-03 15:53:18 +02:00
2019-04-08 00:29:13 +02:00
2019-08-03 15:53:18 +02:00
2019-08-03 15:53:18 +02:00
2019-05-18 14:04:38 +02:00