From 37a9a22eee01eae170049c95d628c33f75ab8efa Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 3 Sep 2023 20:15:25 +0200 Subject: coverity: fix: remove dead code Signed-off-by: David Oberhollenzer --- bin/tar2sqfs/src/process_tarball.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'bin/tar2sqfs/src') diff --git a/bin/tar2sqfs/src/process_tarball.c b/bin/tar2sqfs/src/process_tarball.c index 3b9365d..e0326ee 100644 --- a/bin/tar2sqfs/src/process_tarball.c +++ b/bin/tar2sqfs/src/process_tarball.c @@ -224,8 +224,6 @@ int process_tarball(sqfs_dir_iterator_t *it, sqfs_writer_t *sqfs) if (is_root) { ret = set_root_attribs(sqfs, it, ent); - } else if (skip) { - ret = dont_skip ? -1 : 0; } else { ret = create_node_and_repack_data(sqfs, it, ent, link); } -- cgit v1.2.3