revert part of the previous cleanup - it only applies
authorAlan Hourihane <alanh@tungstengraphics.com>
Tue, 22 Apr 2008 22:05:11 +0000 (23:05 +0100)
committerAlan Hourihane <alanh@tungstengraphics.com>
Tue, 22 Apr 2008 22:05:11 +0000 (23:05 +0100)
to the 7.0 branch

src/mesa/shader/prog_statevars.c

index 01ab051d13a075d8a9e5d087abf4630c5df141d7..4ae74c1d42b0aa8869ef2c397d44c306a583235d 100644 (file)
@@ -813,7 +813,7 @@ _mesa_load_state_parameters(GLcontext *ctx,
    GLuint i;
 
    if (!paramList)
-      return retval;
+      return;
 
    for (i = 0; i < paramList->NumParameters; i++) {
       if (paramList->Parameters[i].Type == PROGRAM_STATE_VAR) {