aboutsummaryrefslogtreecommitdiff
path: root/bin/tar2sqfs
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-09-03 20:15:25 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-09-03 20:23:43 +0200
commit37a9a22eee01eae170049c95d628c33f75ab8efa (patch)
tree4861d3d4818031ac0c1727c891c3151d38ea457e /bin/tar2sqfs
parentd72643ce152b97c359095373df30c164b272d7a1 (diff)
coverity: fix: remove dead code
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'bin/tar2sqfs')
-rw-r--r--bin/tar2sqfs/src/process_tarball.c2
1 files changed, 0 insertions, 2 deletions
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);
}