r600g: Silence uninitialized variable warnings.
authorVinson Lee <vlee@vmware.com>
Thu, 13 Jan 2011 17:07:19 +0000 (09:07 -0800)
committerVinson Lee <vlee@vmware.com>
Thu, 13 Jan 2011 17:07:19 +0000 (09:07 -0800)
src/gallium/drivers/r600/r600_asm.c

index 6c216c4d5f8519aa032b257684fe181702ac85ca..57acb87240de4ca788e30f2fc7c4dca67b412288 100644 (file)
@@ -1092,10 +1092,10 @@ void r600_bc_clear(struct r600_bc *bc)
 
 void r600_bc_dump(struct r600_bc *bc)
 {
-       struct r600_bc_cf *cf;
-       struct r600_bc_alu *alu;
-       struct r600_bc_vtx *vtx;
-       struct r600_bc_tex *tex;
+       struct r600_bc_cf *cf = NULL;
+       struct r600_bc_alu *alu = NULL;
+       struct r600_bc_vtx *vtx = NULL;
+       struct r600_bc_tex *tex = NULL;
 
        unsigned i, id;
        char chip = '6';