silenced a warning
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 7 Apr 2000 00:30:02 +0000 (00:30 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 7 Apr 2000 00:30:02 +0000 (00:30 +0000)
src/mesa/drivers/glide/fxdd.c

index 58310cfb33fd2b9c45fce47cee71a88423f3c33a..747412f130b5f57adbbed96fe2fc1e85e76b4f55 100644 (file)
@@ -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;
   }
 }