Fix another compiler warning
This commit is contained in:
parent
a5089af726
commit
eaf0e2a21c
|
@ -384,8 +384,7 @@ matchDriverFromFiles (char** matches, uint16_t match_vendor, uint16_t match_chip
|
|||
chip = (int)strtol(chip_str, NULL, 16);
|
||||
}
|
||||
}
|
||||
if (vendor == match_vendor &&
|
||||
(chip == match_chip || chip == -1)) {
|
||||
if (vendor == match_vendor && chip == match_chip ) {
|
||||
i = 0;
|
||||
while (matches[i]) {
|
||||
i++;
|
||||
|
|
Loading…
Reference in New Issue
Block a user