From ba0ac64f06e7b6d9c7c1440b7e3fbc9007af88ff Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Wed, 17 Feb 2010 02:10:49 -0800 Subject: glsl: Silence unused value warning. --- src/mesa/shader/slang/slang_emit.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/shader/slang/slang_emit.c') diff --git a/src/mesa/shader/slang/slang_emit.c b/src/mesa/shader/slang/slang_emit.c index c9ecbd275b8..0f670360ee8 100644 --- a/src/mesa/shader/slang/slang_emit.c +++ b/src/mesa/shader/slang/slang_emit.c @@ -1122,6 +1122,8 @@ emit_clamp(slang_emit_info *emitInfo, slang_ir_node *n) return inst; } } +#else + (void) inst; #endif if (!alloc_node_storage(emitInfo, n, n->Children[0]->Store->Size)) -- cgit v1.2.3