summaryrefslogtreecommitdiffstats
path: root/fdisk/sfdisk.c
diff options
context:
space:
mode:
authorKarel Zak2012-01-31 21:07:11 +0100
committerKarel Zak2012-01-31 21:16:21 +0100
commit7068841a09c076da9ff6606e3da642c89ad5e8c3 (patch)
treef3c8de401b13b735a35da48ca5f82fd39dd85490 /fdisk/sfdisk.c
parentfdisk: add missing break (diff)
downloadkernel-qcow2-util-linux-7068841a09c076da9ff6606e3da642c89ad5e8c3.tar.gz
kernel-qcow2-util-linux-7068841a09c076da9ff6606e3da642c89ad5e8c3.tar.xz
kernel-qcow2-util-linux-7068841a09c076da9ff6606e3da642c89ad5e8c3.zip
sfdisk: add comment to keep static analysers happy
Diffstat (limited to 'fdisk/sfdisk.c')
-rw-r--r--fdisk/sfdisk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fdisk/sfdisk.c b/fdisk/sfdisk.c
index 95007c4b3..3f5f74f37 100644
--- a/fdisk/sfdisk.c
+++ b/fdisk/sfdisk.c
@@ -849,6 +849,7 @@ set_format(char c) {
switch (c) {
default:
warnx(_("unrecognized format - using sectors\n"));
+ /* fallthrough */
case 'S':
specified_format = F_SECTOR;
break;