summaryrefslogtreecommitdiff
path: root/src/atimach64probe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/atimach64probe.c')
-rw-r--r--src/atimach64probe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/atimach64probe.c b/src/atimach64probe.c
index 430af6c..6d09834 100644
--- a/src/atimach64probe.c
+++ b/src/atimach64probe.c
@@ -257,7 +257,6 @@ Mach64Probe(DriverPtr pDriver, int flags)
int numDevSections;
int numUsed;
Bool ProbeSuccess = FALSE;
- int i;
if (xf86GetPciVideoInfo() == NULL)
return FALSE;
@@ -279,7 +278,7 @@ Mach64Probe(DriverPtr pDriver, int flags)
if (flags & PROBE_DETECT) {
ProbeSuccess = TRUE;
} else {
- for (i = 0; i < numUsed; i++) {
+ for (int i = 0; i < numUsed; i++) {
if (mach64_get_scrninfo(usedChips[i]))
ProbeSuccess = TRUE;
}