1
0
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:
Marc Bonnici 2017-01-31 10:41:18 +00:00
parent e7a47f602d
commit 54bffb45ab
3 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -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) {