Fix another compiler warning

This commit is contained in:
David Nusinow 2007-10-11 22:31:24 -04:00
parent a5089af726
commit eaf0e2a21c

View File

@ -384,8 +384,7 @@ matchDriverFromFiles (char** matches, uint16_t match_vendor, uint16_t match_chip
chip = (int)strtol(chip_str, NULL, 16); chip = (int)strtol(chip_str, NULL, 16);
} }
} }
if (vendor == match_vendor && if (vendor == match_vendor && chip == match_chip ) {
(chip == match_chip || chip == -1)) {
i = 0; i = 0;
while (matches[i]) { while (matches[i]) {
i++; i++;