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

Author: Vinson Lee <[email protected]>
Date:   Fri Apr  2 01:14:24 2010 -0700

gallivm: Add fallthrough comment at end of case statement.

The code is correct. Tell Coverity that the fallthrough case is
intentional.

---

 src/gallium/auxiliary/gallivm/lp_bld_printf.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/auxiliary/gallivm/lp_bld_printf.c 
b/src/gallium/auxiliary/gallivm/lp_bld_printf.c
index e4fa2c2..153ba5b 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_printf.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_printf.c
@@ -54,6 +54,7 @@ lp_get_printf_arg_count(const char *fmt)
               p += 3;
                continue;
            }
+           /* fallthrough */
         default:
            count ++;
       }

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to