From: Alan Hourihane Date: Tue, 22 Apr 2008 22:05:11 +0000 (+0100) Subject: revert part of the previous cleanup - it only applies X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b3efd35f4bdd62cf36b6f59be602fa8781db9b89;p=mesa.git revert part of the previous cleanup - it only applies to the 7.0 branch --- diff --git a/src/mesa/shader/prog_statevars.c b/src/mesa/shader/prog_statevars.c index 01ab051d13a..4ae74c1d42b 100644 --- a/src/mesa/shader/prog_statevars.c +++ b/src/mesa/shader/prog_statevars.c @@ -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) {