From: Keith Whitwell Date: Thu, 13 Mar 2008 10:14:21 +0000 (+0000) Subject: mesa: fix (harmless?) assignment in assert X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=92523ad0fd11ff532f1e0642410d0a623fe53b06;p=mesa.git mesa: fix (harmless?) assignment in assert --- diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c index 767ba3ffb43..0de2b0a57ea 100644 --- a/src/mesa/shader/slang/slang_codegen.c +++ b/src/mesa/shader/slang/slang_codegen.c @@ -1087,7 +1087,7 @@ slang_inline_function_call(slang_assemble_ctx * A, slang_function *fun, slang_operation_copy(inlined, fun->body); /*** XXX review this */ - assert(inlined->type = SLANG_OPER_BLOCK_NO_NEW_SCOPE); + assert(inlined->type == SLANG_OPER_BLOCK_NO_NEW_SCOPE); inlined->type = SLANG_OPER_BLOCK_NEW_SCOPE; #if 0