OSDN Git Service
(root)
/
android-x86
/
external-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
e4fa2c2
..
153ba5b
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 ++;
}