Re: [Mesa-dev] [PATCH] glsl: Don't declare variables in for-loop declaration.

2014-07-15 Thread Brian Paul
On 07/15/2014 01:14 PM, Matt Turner wrote: Reported-by: Brian Paul --- src/glsl/list.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/glsl/list.h b/src/glsl/list.h index 3cc48ce..3ee6cda 100644 --- a/src/glsl/list.h +++ b/src/glsl/list.h @@ -411,9 +411,9 @@ static

[Mesa-dev] [PATCH] glsl: Don't declare variables in for-loop declaration.

2014-07-15 Thread Matt Turner
Reported-by: Brian Paul --- src/glsl/list.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/glsl/list.h b/src/glsl/list.h index 3cc48ce..3ee6cda 100644 --- a/src/glsl/list.h +++ b/src/glsl/list.h @@ -411,9 +411,9 @@ static inline unsigned exec_list_length(const struct