diff options
author | Brian Paul <brianp@vmware.com> | 2009-12-29 08:47:40 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-12-29 08:47:40 -0700 |
commit | 561a107df71aace22a15003cc77dd504ab8b06a0 (patch) | |
tree | 9ee0e2df1b49268aecbe8503aae1a0a87f8e22f1 /src/glsl | |
parent | a0996447559bd251ef7f089165405fcdefe79cc5 (diff) |
glsl: added default case in _fetch_token() to silence warnings
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/cl/sl_cl_parse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/cl/sl_cl_parse.c b/src/glsl/cl/sl_cl_parse.c index 5dddf434e1..e9b3707ac1 100644 --- a/src/glsl/cl/sl_cl_parse.c +++ b/src/glsl/cl/sl_cl_parse.c @@ -454,6 +454,8 @@ _fetch_token(struct parse_context *ctx, case SL_PP_EOF: ctx->tokens_read++; break; + default: + ; /* no-op */ } } return &ctx->tokens[pos]; |