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 d9fc3f6ce1f10e26865cc74b9d02d40ccb4ae6a9..ef5fb7ec0d3385e4d9ab5cd127872359250521cf 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;