Don't assign variables that aren't actually used, just put them in _,
the python unused variable.

Signed-off-by: Dylan Baker <dylanx.c.ba...@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

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to