From: Vinson Lee Date: Wed, 17 Feb 2010 10:10:49 +0000 (-0800) Subject: glsl: Silence unused value warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ba0ac64f06e7b6d9c7c1440b7e3fbc9007af88ff;p=mesa.git glsl: Silence unused value warning. --- 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))