From 2780ed4b978b32a08be6eecb0e923250e7b907ee Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 29 Mar 2001 17:15:21 +0000 Subject: silence a compiler warning --- src/mesa/drivers/osmesa/osmesa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa') diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index 4e0ae4b38bd..ff84b34da40 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/osmesa/osmesa.c @@ -1,4 +1,4 @@ -/* $Id: osmesa.c,v 1.51 2001/03/19 02:25:35 keithw Exp $ */ +/* $Id: osmesa.c,v 1.52 2001/03/29 17:15:21 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -130,7 +130,7 @@ OSMesaCreateContextExt( GLenum format, GLint depthBits, GLint stencilBits, OSMesaContext osmesa; GLint rshift, gshift, bshift, ashift; GLint rind, gind, bind, aind; - GLint indexBits, redBits, greenBits, blueBits, alphaBits; + GLint indexBits = 0, redBits = 0, greenBits = 0, blueBits = 0, alphaBits =0; GLboolean rgbmode; GLboolean swalpha; const GLuint i4 = 1; -- cgit v1.2.3