From: Ben Skeggs Date: Fri, 30 May 2008 04:32:59 +0000 (+1000) Subject: nouveau: fix warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cf13cf245e91669eb916a6d51676b0d66ff62ead;p=mesa.git nouveau: fix warning --- diff --git a/src/gallium/winsys/dri/nouveau/nouveau_context.c b/src/gallium/winsys/dri/nouveau/nouveau_context.c index d9fc3f6ce1f..ef5fb7ec0d3 100644 --- a/src/gallium/winsys/dri/nouveau/nouveau_context.c +++ b/src/gallium/winsys/dri/nouveau/nouveau_context.c @@ -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;