]> sourceware.org Git - lvm2.git/commitdiff
Revert "cov: check for retvalue"
authorDavid Teigland <teigland@redhat.com>
Thu, 14 Nov 2019 18:31:27 +0000 (12:31 -0600)
committerDavid Teigland <teigland@redhat.com>
Wed, 27 Nov 2019 17:13:09 +0000 (11:13 -0600)
This reverts commit 153e55c20e9a3810a1862314a6465179e1b53931.

fixes folded into subsequent pvck commit

tools/pvck.c

index 4a267dd5514ef8a7339bf2bd2455af1c7ecdc366..9f030c166a964f3fd0885368175c3b29a67ca6b5 100644 (file)
@@ -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
This page took 0.042932 seconds and 5 git commands to generate.