aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-12-29 08:47:40 -0700
committerBrian Paul <[email protected]>2009-12-29 08:47:40 -0700
commit561a107df71aace22a15003cc77dd504ab8b06a0 (patch)
tree9ee0e2df1b49268aecbe8503aae1a0a87f8e22f1 /src/glsl
parenta0996447559bd251ef7f089165405fcdefe79cc5 (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.c2
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 5dddf434e15..e9b3707ac12 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];