Mesa (master): glsl/pp: quieten compiler about missing case statements

Keith Whitwell keithw at kemper.freedesktop.org
Wed Dec 23 16:11:52 UTC 2009


Module: Mesa
Branch: master
Commit: cdd25ab8cfa407d85f9efd78c97aa575aee94d28
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cdd25ab8cfa407d85f9efd78c97aa575aee94d28

Author: Keith Whitwell <keithw at vmware.com>
Date:   Wed Dec 23 15:56:31 2009 +0000

glsl/pp: quieten compiler about missing case statements

---

 src/glsl/pp/sl_pp_process.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/glsl/pp/sl_pp_process.c b/src/glsl/pp/sl_pp_process.c
index 563ea94..f89986d 100644
--- a/src/glsl/pp/sl_pp_process.c
+++ b/src/glsl/pp/sl_pp_process.c
@@ -146,6 +146,9 @@ sl_pp_process_get(struct sl_pp_context *context,
                      found_eof = 1;
                      found_eol = 1;
                      break;
+
+                  default:
+                     break;
                   }
                }
 




More information about the mesa-commit mailing list