From: Keith Whitwell Date: Thu, 13 Mar 2008 10:14:21 +0000 (+0000) Subject: mesa: fix (harmless?) assignment in assert X-Git-Tag: 062012170305~17580^2~390^2~2298 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=92523ad0fd11ff532f1e0642410d0a623fe53b06;p=profile%2Fivi%2Fmesa.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 767ba3f..0de2b0a 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