summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2008-05-30 14:32:59 +1000
committerBen Skeggs <skeggsb@gmail.com>2008-05-30 14:32:59 +1000
commitcf13cf245e91669eb916a6d51676b0d66ff62ead (patch)
tree4af13280d495578f54b1aae3963a076cc150ae9a /src/gallium
parent996b549fdbfe772ee56a51858e81e93bccaae5c5 (diff)
nouveau: fix warning
Diffstat (limited to 'src/gallium')
-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 d9fc3f6ce1..ef5fb7ec0d 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;