projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a099644
)
glsl: added default case in _fetch_token() to silence warnings
author
Brian Paul
<brianp@vmware.com>
Tue, 29 Dec 2009 15:47:40 +0000
(08:47 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 29 Dec 2009 15:47:40 +0000
(08:47 -0700)
src/glsl/cl/sl_cl_parse.c
patch
|
blob
|
history
diff --git
a/src/glsl/cl/sl_cl_parse.c
b/src/glsl/cl/sl_cl_parse.c
index 5dddf434e15b516802f5aae816de5fd878470b2d..e9b3707ac121e1499077038a0a4c62e5d2c638be 100644
(file)
--- 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];