From: Brian Paul Date: Fri, 7 Apr 2000 00:30:02 +0000 (+0000) Subject: silenced a warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e0445550d6cdb0f2045507c1f63219a8a0b8d4c;p=mesa.git silenced a warning --- diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c index 58310cfb33f..747412f130b 100644 --- a/src/mesa/drivers/glide/fxdd.c +++ b/src/mesa/drivers/glide/fxdd.c @@ -535,7 +535,7 @@ static GLboolean fxDDReadPixels( GLcontext *ctx, GLint x, GLint y, else { fxMesaContext fxMesa=(fxMesaContext)ctx->DriverCtx; GrLfbInfo_t info; - GLboolean result; + GLboolean result = GL_FALSE; BEGIN_BOARD_LOCK(); if (grLfbLock(GR_LFB_READ_ONLY, @@ -637,7 +637,6 @@ static GLboolean fxDDReadPixels( GLcontext *ctx, GLint x, GLint y, grLfbUnlock(GR_LFB_READ_ONLY, fxMesa->currentFB); } END_BOARD_LOCK(); - return result; } }