From e4eae45512d11f29d821ec95206bb08626bd3b19 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 21 Apr 2003 14:52:32 +0000 Subject: silence warning --- src/mesa/main/texutil_tmp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/main') 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; -- cgit v1.2.3