From a5fce887d5a6267432674dfe8b2aae4cbed73616 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Thu, 31 Mar 2016 14:15:45 -0700 Subject: glapi: gl_x86-64_asm.py: use _ for unused variable Don't assign variables that aren't actually used, just put them in _, the python unused variable. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/gl_x86-64_asm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/gl_x86-64_asm.py b/src/mapi/glapi/gen/gl_x86-64_asm.py index bfd12709f2..8887bfb9cf 100644 --- a/src/mapi/glapi/gen/gl_x86-64_asm.py +++ b/src/mapi/glapi/gen/gl_x86-64_asm.py @@ -35,7 +35,7 @@ import license def should_use_push(registers): - for [reg, offset] in registers: + for reg, _ in registers: if reg[1:4] == "xmm": return False -- cgit v1.2.3