Warning clean-ups.
authorIan Romanick <idr@us.ibm.com>
Fri, 7 May 2004 22:43:52 +0000 (22:43 +0000)
committerIan Romanick <idr@us.ibm.com>
Fri, 7 May 2004 22:43:52 +0000 (22:43 +0000)
src/mesa/drivers/dri/i830/i830_debug.c
src/mesa/drivers/dri/i830/i830_state.c

index 56940e2..84f3216 100644 (file)
@@ -325,15 +325,15 @@ void i830EmitHwStateLockedDebug( i830ContextPtr imesa )
         switch( i ) {
         case 0:
         case 1:
-           TexState = imesa->sarea->TexState[i];
+           TexState = imesa->sarea->TexState[i];
            break;
 
         case 2:
-           TexState = imesa->sarea->TexState2;
+           TexState = imesa->sarea->TexState2;
            break;
 
         case 3:
-           TexState = imesa->sarea->TexState3;
+           TexState = imesa->sarea->TexState3;
            break;
         }
 
index 9bd9737..8bfe392 100644 (file)
@@ -1410,7 +1410,7 @@ void i830DDInitState( GLcontext *ctx )
 {
    i830ContextPtr imesa = I830_CONTEXT(ctx);   
    i830ScreenPrivate *i830Screen = imesa->i830Screen;
-   int i, j;
+   int i;
 
    imesa->clear_red = 0;
    imesa->clear_green = 0;