From 561a107df71aace22a15003cc77dd504ab8b06a0 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 29 Dec 2009 08:47:40 -0700 Subject: glsl: added default case in _fetch_token() to silence warnings --- src/glsl/cl/sl_cl_parse.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/glsl/cl') 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]; -- cgit v1.2.3