summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2019-11-14 12:31:27 -0600
committerDavid Teigland <teigland@redhat.com>2019-11-27 11:13:09 -0600
commit595aa1d4526185e0fe52430ce019a07103014b0c (patch)
tree88574a61ca72fc6124738e813634f52e88525f54
parent98a8099da9e43561a1fe981bbf2866e373f0d07a (diff)
downloadlvm2-595aa1d4526185e0fe52430ce019a07103014b0c.tar.gz
Revert "cov: check for retvalue"
This reverts commit 153e55c20e9a3810a1862314a6465179e1b53931. fixes folded into subsequent pvck commit
-rw-r--r--tools/pvck.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/pvck.c b/tools/pvck.c
index 4a267dd55..9f030c166 100644
--- a/tools/pvck.c
+++ b/tools/pvck.c
@@ -359,10 +359,7 @@ static int _dump_all_text(struct cmd_context *cmd, const char *tofile, struct de
continue;
}
- if (sscanf(line, "seqno = %u", &seqno) != 1) {
- log_warn("WARNING: Failed to parse seqno.");
- seqno = 0; /* Skip? */
- }
+ sscanf(line, "seqno = %u", &seqno);
/*
* The first three lines look like metadata with