llvmpipe: silence uninitialized var warnings
authorBrian Paul <brianp@vmware.com>
Thu, 13 May 2010 19:21:37 +0000 (13:21 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 13 May 2010 20:15:44 +0000 (14:15 -0600)
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c

index f9dea306ab2e45dfb7ce08e4a5bfbf0dc0a573aa..bc7213db8b35163b614c9fb55b4dba48b80bc239 100644 (file)
@@ -918,7 +918,8 @@ lp_build_lod_selector(struct lp_build_sample_context *bld,
       }
       else {
          const int dims = texture_dims(bld->static_state->target);
-         LLVMValueRef dsdx, dsdy, dtdx, dtdy, drdx, drdy;
+         LLVMValueRef dsdx, dsdy;
+         LLVMValueRef dtdx = NULL, dtdy = NULL, drdx = NULL, drdy = NULL;
          LLVMValueRef rho;
 
          /*