tdfx: Silence uninitialized variable warning.
authorVinson Lee <vlee@vmware.com>
Wed, 30 Dec 2009 05:34:06 +0000 (21:34 -0800)
committerVinson Lee <vlee@vmware.com>
Wed, 30 Dec 2009 05:34:06 +0000 (21:34 -0800)
src/mesa/drivers/dri/tdfx/tdfx_tex.c

index 0aa09e733befa3063055e0a354d9c49aa868a699..e31ae97b0234a96aa7d96f6ad526f79a801157ce 100644 (file)
@@ -1572,7 +1572,7 @@ tdfxCompressedTexImage2D (GLcontext *ctx, GLenum target,
     tdfxTexInfo *ti;
     tdfxMipMapLevel *mml;
     gl_format mesaFormat;
-    GLuint compressedSize;
+    GLuint compressedSize = 0;
 
     if (TDFX_DEBUG & DEBUG_VERBOSE_DRI) {
         fprintf(stderr, "tdfxCompressedTexImage2D: id=%d int 0x%x  %dx%d\n",