nouveau: fix warning
authorBen Skeggs <skeggsb@gmail.com>
Fri, 30 May 2008 04:32:59 +0000 (14:32 +1000)
committerBen Skeggs <skeggsb@gmail.com>
Fri, 30 May 2008 04:32:59 +0000 (14:32 +1000)
src/gallium/winsys/dri/nouveau/nouveau_context.c

index d9fc3f6..ef5fb7e 100644 (file)
@@ -99,7 +99,7 @@ nouveau_context_create(const __GLcontextModes *glVis,
        struct st_context *st_share = NULL;
        struct nouveau_channel_context *nvc = NULL;
        struct nouveau_device *dev = nv_screen->device;
-       int i, ret;
+       int i;
 
        if (sharedContextPrivate) {
                st_share = ((struct nouveau_context *)sharedContextPrivate)->st;