diff options
author | Sami Kerola | 2017-05-28 11:21:48 +0200 |
---|---|---|
committer | Karel Zak | 2017-06-14 12:19:20 +0200 |
commit | 1b5042636fa92c977d9a033f685ceb7f3c4c5fc9 (patch) | |
tree | 39b83786d289855a5ba6cb51fe0ac10e2707e481 /misc-utils/findmnt-verify.c | |
parent | isosize: avoid reading more data than what is needed (diff) | |
download | kernel-qcow2-util-linux-1b5042636fa92c977d9a033f685ceb7f3c4c5fc9.tar.gz kernel-qcow2-util-linux-1b5042636fa92c977d9a033f685ceb7f3c4c5fc9.tar.xz kernel-qcow2-util-linux-1b5042636fa92c977d9a033f685ceb7f3c4c5fc9.zip |
misc: fix reassigned values before old ones has been used [cppcheck]
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'misc-utils/findmnt-verify.c')
-rw-r--r-- | misc-utils/findmnt-verify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-utils/findmnt-verify.c b/misc-utils/findmnt-verify.c index e3fb391d4..b32901d66 100644 --- a/misc-utils/findmnt-verify.c +++ b/misc-utils/findmnt-verify.c @@ -472,7 +472,7 @@ static int verify_filesystem(struct verify_context *vfy) int verify_table(struct libmnt_table *tb) { struct verify_context vfy = { .nerrors = 0 }; - struct libmnt_iter *itr = NULL; + struct libmnt_iter *itr; int rc = 0; /* overall return code (alloc errors, etc.) */ int check_order = is_listall_mode(); static int has_read_fs = 0; |