From: Dave Airlie <[email protected]> Pointed out by coverity scan.
Signed-off-by: Dave Airlie <[email protected]> --- hw/xfree86/common/xf86pciBus.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c index eb5323c..21423ae 100644 --- a/hw/xfree86/common/xf86pciBus.c +++ b/hw/xfree86/common/xf86pciBus.c @@ -657,7 +657,7 @@ xf86MatchPciInstances(const char *driverName, int vendorID, unsigned max_entries = numDevs; iter = pci_slot_match_iterator_create(NULL); - while ((pPci = pci_device_next(iter)) != NULL) { + while (pci_device_next(iter) != NULL) { max_entries++; } -- 1.7.6.4 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
