summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-05-30 14:32:59 +1000
committerBen Skeggs <[email protected]>2008-05-30 14:32:59 +1000
commitcf13cf245e91669eb916a6d51676b0d66ff62ead (patch)
tree4af13280d495578f54b1aae3963a076cc150ae9a
parent996b549fdbfe772ee56a51858e81e93bccaae5c5 (diff)
nouveau: fix warning
-rw-r--r--src/gallium/winsys/dri/nouveau/nouveau_context.c2
1 files changed, 1 insertions, 1 deletions
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;