We only print the parent directory to help provide context to the
user, but it's possible that a corrupted directory doesn't have a '..'
link.
Addresses-Coverity-Bug: 1507762
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
if (parent)
pctx->dir = parent;
else
- ext2fs_lookup(fs, ino, "..", 2, NULL,
- &pctx->dir);
+ (void) ext2fs_lookup(fs, ino, "..", 2, NULL,
+ &pctx->dir);
if (fix_problem(ctx, !parent ? PR_3_UNCONNECTED_DIR :
PR_3_LOOPED_DIR, pctx)) {
if (e2fsck_reconnect_file(ctx, pctx->ino)) {