Message ID | 1383779755-18228-16-git-send-email-sandeen@redhat.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
diff --git a/utils.c b/utils.c index ecacc29..9aeb5f8 100644 --- a/utils.c +++ b/utils.c @@ -1499,16 +1499,22 @@ u64 parse_size(char *s) switch (c) { case 'e': mult *= 1024; + /* fallthrough */ case 'p': mult *= 1024; + /* fallthrough */ case 't': mult *= 1024; + /* fallthrough */ case 'g': mult *= 1024; + /* fallthrough */ case 'm': mult *= 1024; + /* fallthrough */ case 'k': mult *= 1024; + /* fallthrough */ case 'b': break; default:
We intentionally fall through these case statements; just annotate it to be clear. Resolves-Coverity-CID: 1054887 Signed-off-by: Eric Sandeen <sandeen@redhat.com> --- utils.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)