summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2016-03-31 14:15:45 -0700
committerDylan Baker <baker.dylan.c@gmail.com>2016-03-31 16:03:59 -0700
commita5fce887d5a6267432674dfe8b2aae4cbed73616 (patch)
treed9e79d1a3ef32f80debe2f9bd5e4417d48ea3659
parent70f5c91763596edf35c5b11f46cfedf8eec290df (diff)
glapi: gl_x86-64_asm.py: use _ for unused variablewip/glapi-cleanup
Don't assign variables that aren't actually used, just put them in _, the python unused variable. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
-rw-r--r--src/mapi/glapi/gen/gl_x86-64_asm.py2
1 files changed, 1 insertions, 1 deletions
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