[Mesa-dev] [PATCH 41/41] glapi: gl_x86-64_asm.py: use _ for unused variable
Dylan Baker
baker.dylan.c at gmail.com
Fri Apr 1 00:04:58 UTC 2016
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 at intel.com>
---
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 bfd1270..8887bfb9 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
--
2.8.0
More information about the mesa-dev
mailing list