summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-04-21 14:52:32 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-04-21 14:52:32 +0000
commite4eae45512d11f29d821ec95206bb08626bd3b19 (patch)
tree88575e1169c5561f4ca3b526492cd36feeb6251e /src/mesa
parent8eb2fe0e15c70dce08b7882b67df978552f01f7e (diff)
silence warning
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/texutil_tmp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/texutil_tmp.h b/src/mesa/main/texutil_tmp.h
index 32c7b59f21..ef177df9a8 100644
--- a/src/mesa/main/texutil_tmp.h
+++ b/src/mesa/main/texutil_tmp.h
@@ -1,4 +1,4 @@
-/* $Id: texutil_tmp.h,v 1.12 2002/10/29 20:28:55 brianp Exp $ */
+/* $Id: texutil_tmp.h,v 1.13 2003/04/21 14:52:32 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -354,7 +354,7 @@ TAG(texsubimage2d_stride_unpack)( const struct convert_info *convert )
(convert->yoffset * convert->dstImageWidth +
convert->xoffset) * DST_TEXEL_BYTES);
GLint adjust;
- GLint row, col;
+ GLint row, col = 0;
(void) col;
adjust = convert->dstImageWidth - convert->width;
@@ -407,7 +407,7 @@ TAG(texsubimage3d_stride_unpack)( const struct convert_info *convert )
convert->yoffset) * convert->dstImageWidth +
convert->xoffset) * DST_TEXEL_BYTES);
GLint adjust;
- GLint row, col, img;
+ GLint row, col = 0, img;
(void) col;
adjust = convert->dstImageWidth - convert->width;