Message ID | 1383779755-18228-17-git-send-email-sandeen@redhat.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
diff --git a/cmds-qgroup.c b/cmds-qgroup.c index 4fe776c..5a393bd 100644 --- a/cmds-qgroup.c +++ b/cmds-qgroup.c @@ -120,12 +120,15 @@ static int parse_limit(const char *p, unsigned long long *s) case 'T': case 't': size *= 1024; + /* fallthrough */ case 'G': case 'g': size *= 1024; + /* fallthrough */ case 'M': case 'm': size *= 1024; + /* fallthrough */ case 'K': case 'k': size *= 1024;
We intentionally fall through these case statements; just annotate it to be clear. Resolves-Coverity-CID: 1054884 Signed-off-by: Eric Sandeen <sandeen@redhat.com> --- cmds-qgroup.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)