diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-09-23 10:09:31 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-10-24 15:57:18 +0200 |
commit | b3c5de63c132f74f4e3592f2ff07e5172c5e295f (patch) | |
tree | eda385802cc270c6e365e6bfb9f9149e663c711f | |
parent | 0e7b2348ea8fbfd9cb9fb532d552e27a9636010a (diff) |
Remove some unused variables
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-rw-r--r-- | bin/sqfs2tar/src/sqfs2tar.c | 1 | ||||
-rw-r--r-- | bin/tar2sqfs/src/process_tarball.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/bin/sqfs2tar/src/sqfs2tar.c b/bin/sqfs2tar/src/sqfs2tar.c index 7404221..ac019d8 100644 --- a/bin/sqfs2tar/src/sqfs2tar.c +++ b/bin/sqfs2tar/src/sqfs2tar.c @@ -79,7 +79,6 @@ int main(int argc, char **argv) { int ret, status = EXIT_FAILURE; sqfs_dir_iterator_t *it = NULL; - size_t i; process_args(argc, argv); diff --git a/bin/tar2sqfs/src/process_tarball.c b/bin/tar2sqfs/src/process_tarball.c index e0326ee..fea6998 100644 --- a/bin/tar2sqfs/src/process_tarball.c +++ b/bin/tar2sqfs/src/process_tarball.c @@ -157,7 +157,7 @@ int process_tarball(sqfs_dir_iterator_t *it, sqfs_writer_t *sqfs) size_t rootlen = root_becomes == NULL ? 0 : strlen(root_becomes); for (;;) { - bool skip = false, is_root = false, is_prefixed = true; + bool is_root = false, is_prefixed = true; sqfs_dir_entry_t *ent = NULL; char *link = NULL; int ret; |