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 56940e223cf030977ee532f176b5309c0e61a8a7..84f3216dc045ca72ba367f985b513dafa51b35e4 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 9bd97379cac2312514549528e14d14ab5989400e..8bfe392682b788fac12c06341d750064df0903bc 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;