diff options
author | Karel Zak | 2019-05-15 16:59:52 +0200 |
---|---|---|
committer | Karel Zak | 2019-05-15 16:59:52 +0200 |
commit | 1d161441c28c29534a10d16a88008236ada91bec (patch) | |
tree | 2d1a21b9d54bfd86ac8b3630bf98b442ac806c1a /libfdisk/src/dos.c | |
parent | libfdisk: properly check return code of add_to_partitions_array() [coverity s... (diff) | |
download | kernel-qcow2-util-linux-1d161441c28c29534a10d16a88008236ada91bec.tar.gz kernel-qcow2-util-linux-1d161441c28c29534a10d16a88008236ada91bec.tar.xz kernel-qcow2-util-linux-1d161441c28c29534a10d16a88008236ada91bec.zip |
libfdisk: remove unused code [clang scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libfdisk/src/dos.c')
-rw-r--r-- | libfdisk/src/dos.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libfdisk/src/dos.c b/libfdisk/src/dos.c index fba953712..40b9aa758 100644 --- a/libfdisk/src/dos.c +++ b/libfdisk/src/dos.c @@ -1741,7 +1741,6 @@ static int dos_add_partition(struct fdisk_context *cxt, "been created.")); return -EINVAL; } - rc = 1; if (!free_primary || !free_sectors) { DBG(LABEL, ul_debug("DOS: primary impossible, add logical")); |