diff options
author | José Fonseca <[email protected]> | 2009-01-06 19:18:13 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-01-08 12:05:22 +0000 |
commit | a86776dba4cb328f5ed5f97c46d262ee6b90456a (patch) | |
tree | f0c402103bdec4d3e73da1911e25a2bad6763a9d /src/mesa/shader | |
parent | 73d02d70b8c98c0e64e7816795565ed5f5bf3639 (diff) |
mesa: Move var declaration to top of scope.
Diffstat (limited to 'src/mesa/shader')
-rw-r--r-- | src/mesa/shader/slang/slang_compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_compile.c b/src/mesa/shader/slang/slang_compile.c index d8aefd64950..b8044b10600 100644 --- a/src/mesa/shader/slang/slang_compile.c +++ b/src/mesa/shader/slang/slang_compile.c @@ -1470,9 +1470,9 @@ parse_expression(slang_parse_ctx * C, slang_output_ctx * O, RETURN0; } else { + slang_operation array_size; array_constructor = GL_TRUE; /* parse the array constructor size */ - slang_operation array_size; slang_operation_construct(&array_size); if (!parse_expression(C, O, &array_size)) { slang_operation_destruct(&array_size); |