init a few vars to silence compiler warnings
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 13 Jan 2000 00:32:12 +0000 (00:32 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 13 Jan 2000 00:32:12 +0000 (00:32 +0000)
src/mesa/main/image.c

index 58c76deb0da7202b018aaca94441385f9bfe7282..2c687728d108d3e3d5368a05a51919a69140666d 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: image.c,v 1.15 2000/01/05 09:21:32 brianp Exp $ */
+/* $Id: image.c,v 1.16 2000/01/13 00:32:12 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -1584,6 +1584,8 @@ extract_float_rgba(GLuint n, GLfloat rgba[][4],
           srcType == GL_UNSIGNED_INT_8_8_8_8 ||
           srcType == GL_UNSIGNED_INT_10_10_10_2);
 
+   rComp = gComp = bComp = aComp = -1;
+
    switch (srcFormat) {
       case GL_RED:
          redIndex = 0;