sfdisk: add hints for scanners [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2017-05-17 11:57:44 +02:00
parent d2f265d629
commit 76ae3fe37a
1 changed files with 2 additions and 0 deletions

View File

@ -1824,6 +1824,7 @@ static int command_fdisk(struct sfdisk *sf, int argc, char **argv)
break;
}
}
/* fallthrough */
case SFDISK_DONE_WRITE:
rc = write_changes(sf);
break;
@ -2026,6 +2027,7 @@ int main(int argc, char *argv[])
break;
case 'G':
warnx(_("--show-pt-geometry is no more implemented. Using --show-geometry."));
/* fallthrough */
case 'g':
sf->act = ACT_SHOW_GEOM;
break;