This patch is

Reviewed-by: Ian Romanick <[email protected]>

On 03/31/2016 05:04 PM, Dylan Baker wrote:
> Don't assign variables that aren't actually used, just put them in _,
> the python unused variable.
> 
> Signed-off-by: Dylan Baker <[email protected]>
> ---
>  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
>  
> 

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to