[Mesa-dev] [PATCH 6/6] r600g: fix unused variable warning

Gert Wollny gw.fossdev at gmail.com
Sun Jun 3 12:41:08 UTC 2018


This patch doesn't apply, the "int i" was deleted already; I didn't
find the commit though. 

Am Freitag, den 29.12.2017, 08:32 +0300 schrieb Konstantin Kharlamov:
> Signed-off-by: Konstantin Kharlamov <Hi-Angel at yandex.ru>
> ---
>  src/gallium/drivers/r600/r600_state_common.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/src/gallium/drivers/r600/r600_state_common.c
> b/src/gallium/drivers/r600/r600_state_common.c
> index ec8945f084..dc5cc0ad2e 100644
> --- a/src/gallium/drivers/r600/r600_state_common.c
> +++ b/src/gallium/drivers/r600/r600_state_common.c
> @@ -902,7 +902,6 @@ struct r600_pipe_shader_selector
> *r600_create_shader_state_tokens(struct pipe_co
>  								  un
> signed pipe_shader_type)
>  {
>  	struct r600_pipe_shader_selector *sel =
> CALLOC_STRUCT(r600_pipe_shader_selector);
> -	int i;
>  
>  	sel->type = pipe_shader_type;
>  	sel->tokens = tgsi_dup_tokens(tokens);


More information about the mesa-dev mailing list