Don't mix variable definitions and other statements (fixed build on old
authorEric Anholt <anholt@FreeBSD.org>
Sat, 8 May 2004 07:48:13 +0000 (07:48 +0000)
committerEric Anholt <anholt@FreeBSD.org>
Sat, 8 May 2004 07:48:13 +0000 (07:48 +0000)
compiler).

src/mesa/drivers/dri/unichrome/via_ioctl.c

index a73df4e0263a17256e49ac2e25ffca05ad8c6eac..eaa5a726e53c0b8b04cc0a9a6981d0c6fc84e1c2 100644 (file)
@@ -2241,10 +2241,11 @@ int flush_sys(viaContextPtr vmesa, drm_via_flush_sys_t* buf)
            else {
                GLuint j;
                GLuint *data;
-               data = (GLuint *)vmesa->dmaAddr;
                /*=* John Sheng [2003.12.9] Tuxracer & VQ *=*/
                GLuint k;
                GLuint *ES;
+
+               data = (GLuint *)vmesa->dmaAddr;
                ES = pnEngBase;
 
                if (i == 500000) {