mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-03-21 01:59:13 +00:00
Revent: Fixed uninitialized variable.
This commit is contained in:
parent
e7a47f602d
commit
54bffb45ab
Binary file not shown.
Binary file not shown.
2
wlauto/external/revent/revent.c
vendored
2
wlauto/external/revent/revent.c
vendored
@ -711,7 +711,7 @@ int init_general_input_devices(input_devices_t *devices)
|
||||
uint32_t num, i, path_len;
|
||||
char paths[INPDEV_MAX_DEVICES][INPDEV_MAX_PATH];
|
||||
int fds[INPDEV_MAX_DEVICES];
|
||||
int max_fd;
|
||||
int max_fd = 0;
|
||||
|
||||
num = 0;
|
||||
for(i = 0; i < INPDEV_MAX_DEVICES; ++i) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user