llvmpipe: Fix uninitialized variable on non-debug builds.
authorVinson Lee <vlee@vmware.com>
Fri, 4 Jun 2010 00:24:22 +0000 (17:24 -0700)
committerVinson Lee <vlee@vmware.com>
Fri, 4 Jun 2010 00:24:22 +0000 (17:24 -0700)
src/gallium/drivers/llvmpipe/lp_setup.c

index 8556dc87b44c9f7762185f3c55a9b58ba0c9b99d..b6db66fe64ec3c6e247ec1c282a03af7ea9d37ac 100644 (file)
@@ -366,6 +366,7 @@ lp_setup_clear( struct lp_setup_context *setup,
                break;
             default:
                assert(0);
+               tmpval = 0;
             }
          }
          setup->clear.clearzs.clearzs_mask |= mask;