summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2009-12-22 14:43:11 -0800
committerEric Anholt <[email protected]>2009-12-28 18:51:18 -0800
commit2515ccaf244d3a2c5f16189737a04f44f698fbeb (patch)
tree94252c2975196fe4f49d8b83d95d79e7501773d6 /src
parent85dcc070719ef6a6bcf65dc4996b1733f63912d8 (diff)
mesa: remove gratuitous stores I added in remove_instructions.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/shader/prog_optimize.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_optimize.c b/src/mesa/shader/prog_optimize.c
index 4fe351251e8..83d119e031e 100644
--- a/src/mesa/shader/prog_optimize.c
+++ b/src/mesa/shader/prog_optimize.c
@@ -111,7 +111,6 @@ remove_instructions(struct gl_program *prog, const GLboolean *removeFlags)
if (removeCount > 0) {
GLint removeStart = removeEnd - removeCount + 1;
_mesa_delete_instructions(prog, removeStart, removeCount);
- removeStart = removeCount = 0; /* reset removal info */
}
return totalRemoved;
}