r300/compiler: Remove unused variable.
authorVinson Lee <vlee@vmware.com>
Sun, 11 Apr 2010 03:12:32 +0000 (20:12 -0700)
committerVinson Lee <vlee@vmware.com>
Sun, 11 Apr 2010 03:12:32 +0000 (20:12 -0700)
src/mesa/drivers/dri/r300/compiler/radeon_pair_translate.c

index 3a26e7daaf9563bf58bd886c9d088f02e6e1de8d..407a0a55ee27155b4855a575f8f3d3bc3b44fcc8 100644 (file)
@@ -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) {