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 a73df4e..eaa5a72 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) {