From: Brian Paul Date: Fri, 7 Apr 2000 00:30:02 +0000 (+0000) Subject: silenced a warning X-Git-Tag: mesa-7.8~14741 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e0445550d6cdb0f2045507c1f63219a8a0b8d4c;p=platform%2Fupstream%2Fmesa.git silenced a warning --- diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c index 58310cf..747412f 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; } }