sfdisk: remove never read value [clang scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2020-01-15 12:38:19 +01:00
parent e1d7c65a5c
commit 319029e8b4
1 changed files with 0 additions and 1 deletions

View File

@ -1865,7 +1865,6 @@ static int command_fdisk(struct sfdisk *sf, int argc, char **argv)
&& fdisk_script_get_header(dp, "label")) {
int xrc = fdisk_apply_script_headers(sf->cxt, dp);
created = !xrc;
if (xrc) {
fdisk_warnx(sf->cxt, _(
"Failed to apply script headers, "