glsl: Silence unused value warning.

This commit is contained in:
Vinson Lee 2010-02-17 02:10:49 -08:00
parent 7eaf33ad03
commit ba0ac64f06

View 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))