aboutsummaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-03-05 22:55:09 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-03-05 22:55:09 +0100
commitdfab234dfae735103d2e5206b0f335c8449ee3d5 (patch)
tree1b5d79f6a5f5a01896562233ee40973085755c21 /extras
parent85e36aab1258d8d9ec7b61ce013f167ef8e03ae0 (diff)
Get rid of sqfs_compressor_exists
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'extras')
-rw-r--r--extras/browse.c5
-rw-r--r--extras/list_files.c5
2 files changed, 0 insertions, 10 deletions
diff --git a/extras/browse.c b/extras/browse.c
index 9dd735a..a238793 100644
--- a/extras/browse.c
+++ b/extras/browse.c
@@ -502,11 +502,6 @@ int main(int argc, char **argv)
goto out_fd;
}
- if (!sqfs_compressor_exists(super.compression_id)) {
- fprintf(stderr, "%s: unknown compressor used.\n", argv[1]);
- goto out_fd;
- }
-
sqfs_compressor_config_init(&cfg, super.compression_id,
super.block_size,
SQFS_COMP_FLAG_UNCOMPRESS);
diff --git a/extras/list_files.c b/extras/list_files.c
index eba4fff..61184bf 100644
--- a/extras/list_files.c
+++ b/extras/list_files.c
@@ -75,11 +75,6 @@ int main(int argc, char **argv)
goto out_fd;
}
- if (!sqfs_compressor_exists(super.compression_id)) {
- fprintf(stderr, "%s: unknown compressor used.\n", argv[1]);
- goto out_fd;
- }
-
sqfs_compressor_config_init(&cfg, super.compression_id,
super.block_size,
SQFS_COMP_FLAG_UNCOMPRESS);