glsl: Silence unused value warning.
authorVinson Lee <vlee@vmware.com>
Wed, 17 Feb 2010 10:10:49 +0000 (02:10 -0800)
committerVinson Lee <vlee@vmware.com>
Wed, 17 Feb 2010 10:10:49 +0000 (02:10 -0800)
src/mesa/shader/slang/slang_emit.c

index c9ecbd275b8bf6d9da8a37747c2dec4185952d90..0f670360ee80489f180ef676556856602cadbf6a 100644 (file)
@@ -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))