From 595aa1d4526185e0fe52430ce019a07103014b0c Mon Sep 17 00:00:00 2001 From: David Teigland Date: Thu, 14 Nov 2019 12:31:27 -0600 Subject: [PATCH] Revert "cov: check for retvalue" This reverts commit 153e55c20e9a3810a1862314a6465179e1b53931. fixes folded into subsequent pvck commit --- tools/pvck.c | 5 +---- 1 file changed, 1 insertion(+), 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 -- 2.43.5