From 4e0445550d6cdb0f2045507c1f63219a8a0b8d4c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 7 Apr 2000 00:30:02 +0000 Subject: [PATCH] silenced a warning --- src/mesa/drivers/glide/fxdd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; } } -- 2.30.2