projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c87e6e5
)
gallivm: Add fallthrough comment at end of case statement.
author
Vinson Lee
<vlee@vmware.com>
Fri, 2 Apr 2010 08:14:24 +0000
(
01:14
-0700)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 2 Apr 2010 08:16:13 +0000
(
01:16
-0700)
The code is correct. Tell Coverity that the fallthrough case is
intentional.
src/gallium/auxiliary/gallivm/lp_bld_printf.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_printf.c
b/src/gallium/auxiliary/gallivm/lp_bld_printf.c
index e4fa2c264c3f24a9dc4b32901caceff8be6a685d..153ba5b15b17656b3b3be65ce43c2b73f4cf38a6 100644
(file)
--- 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 ++;
}