From: Brian Paul Date: Tue, 29 Dec 2009 15:47:40 +0000 (-0700) Subject: glsl: added default case in _fetch_token() to silence warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=561a107df71aace22a15003cc77dd504ab8b06a0;p=mesa.git glsl: added default case in _fetch_token() to silence warnings --- 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];