commit | 17355e8b38d4581a069d3daf1d1bba87f1eb3612 | [log] [tgz] |
---|---|---|
author | Brian Paul <brian.paul@tungstengraphics.com> | Fri Apr 02 17:17:00 2004 +0000 |
committer | Brian Paul <brian.paul@tungstengraphics.com> | Fri Apr 02 17:17:00 2004 +0000 |
tree | 1abc2dbe46a007907509fc42218cdfea34afcb96 | |
parent | 7feb5289056993f7e29a93296f06278cb162898b [diff] [blame] |
add braces to silence warnings
diff --git a/src/mesa/shader/grammar.c b/src/mesa/shader/grammar.c index 09e0920..3bf67cc 100644 --- a/src/mesa/shader/grammar.c +++ b/src/mesa/shader/grammar.c
@@ -2772,7 +2772,9 @@ } if (p) - while (*p) + { + while (*p) + { if (*p == '$') { const byte *r = error_param; @@ -2790,7 +2792,8 @@ APPEND_CHARACTER(*p) p++; } - + } + } *pos = error_position; #undef APPEND_CHARACTER