summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2008-05-23 00:16:49 -0700
committerCorbin Simpson <MostAwesomeDude@gmail.com>2008-05-23 00:18:14 -0700
commit9ab7a2df030fe3eb7b82a99d9f17093c0036bc06 (patch)
treef847c8880f00bcc12f9b75dce8b9808d08db8f30 /src/mesa/drivers
parent30e61500e162453d7affd855fe531ed2d1d6e80b (diff)
r5xx: Clean up some compiler warnings.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/r300/r500_fragprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r500_fragprog.c b/src/mesa/drivers/dri/r300/r500_fragprog.c
index e6d684ee46..061f53a697 100644
--- a/src/mesa/drivers/dri/r300/r500_fragprog.c
+++ b/src/mesa/drivers/dri/r300/r500_fragprog.c
@@ -353,7 +353,7 @@ static GLboolean parse_program(struct r500_fragment_program *fp)
struct gl_fragment_program *mp = &fp->mesa_program;
const struct prog_instruction *inst = mp->Base.Instructions;
struct prog_instruction *fpi;
- GLuint src[3], dest, temp[2];
+ GLuint src[3], dest = 0;
int temp_swiz, pixel_mask = 0, output_mask = 0, counter = 0;
if (!inst || inst[0].Opcode == OPCODE_END) {