From: Tapani Pälli Date: Thu, 9 Apr 2020 07:41:45 +0000 (+0300) Subject: mesa: remove redudant assignment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e667802a7cb46c0aaeb93d3753d9c356c72b604e;p=mesa.git mesa: remove redudant assignment CID: 1461397 Signed-off-by: Tapani Pälli Reviewed-by: Andres Gomez Part-of: --- diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index a812b6c06e9..0aa05475247 100644 --- a/src/mesa/main/shaderapi.c +++ b/src/mesa/main/shaderapi.c @@ -1265,7 +1265,7 @@ update_programs_in_pipeline(GLuint key, void *data, void *userData) for (unsigned stage = 0; stage < MESA_SHADER_STAGES; stage++) { if (obj->CurrentProgram[stage] && obj->CurrentProgram[stage]->Id == params->shProg->Name) { - struct gl_program *prog = prog = params->shProg->_LinkedShaders[stage]->Program; + struct gl_program *prog = params->shProg->_LinkedShaders[stage]->Program; _mesa_use_program(params->ctx, stage, params->shProg, prog, obj); } }