summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-04-10 20:12:32 -0700
committerVinson Lee <[email protected]>2010-04-10 20:12:32 -0700
commit95d3bdd338a1bc90ec382d5faa82ea3d0a2b3c67 (patch)
treeb7c6771a59cfa7a639900d9180649fad38ca4ed2 /src
parente19ea63b803a81a719040ed4f9daf958359f9c0b (diff)
r300/compiler: Remove unused variable.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r300/compiler/radeon_pair_translate.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_pair_translate.c b/src/mesa/drivers/dri/r300/compiler/radeon_pair_translate.c
index 3a26e7daaf9..407a0a55ee2 100644
--- a/src/mesa/drivers/dri/r300/compiler/radeon_pair_translate.c
+++ b/src/mesa/drivers/dri/r300/compiler/radeon_pair_translate.c
@@ -156,7 +156,6 @@ static void set_pair_instruction(struct r300_fragment_program_compiler *c,
}
const struct rc_opcode_info * opcode = rc_get_opcode_info(inst->Opcode);
- int nargs = opcode->NumSrcRegs;
int i;
for(i = 0; i < opcode->NumSrcRegs; ++i) {