r600g: Silence uninitialized variable warning.

This commit is contained in:
Vinson Lee
2010-09-15 05:52:16 -07:00
parent 76c0576101
commit a712e193a3
+3
View File
@@ -2414,6 +2414,9 @@ static inline void callstack_check_depth(struct r600_shader_ctx *ctx, unsigned r
case FC_PUSH_WQM:
diff = 4;
break;
default:
assert(0);
diff = 0;
}
if ((ctx->bc->callstack[ctx->bc->call_sp].current + diff) >
ctx->bc->callstack[ctx->bc->call_sp].max) {