summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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];