From: Brian Paul Date: Thu, 29 Mar 2001 17:15:21 +0000 (+0000) Subject: silence a compiler warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2780ed4b978b32a08be6eecb0e923250e7b907ee;p=mesa.git silence a compiler warning --- 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;