diff options
| author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-03-05 22:55:09 +0100 | 
|---|---|---|
| committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-03-05 22:55:09 +0100 | 
| commit | dfab234dfae735103d2e5206b0f335c8449ee3d5 (patch) | |
| tree | 1b5d79f6a5f5a01896562233ee40973085755c21 /difftool | |
| parent | 85e36aab1258d8d9ec7b61ce013f167ef8e03ae0 (diff) | |
Get rid of sqfs_compressor_exists
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'difftool')
| -rw-r--r-- | difftool/sqfsdiff.c | 13 | 
1 files changed, 0 insertions, 13 deletions
| diff --git a/difftool/sqfsdiff.c b/difftool/sqfsdiff.c index 6415165..2871322 100644 --- a/difftool/sqfsdiff.c +++ b/difftool/sqfsdiff.c @@ -22,19 +22,6 @@ static int open_sfqs(sqfs_state_t *state, const char *path)  		goto fail_file;  	} -	ret = sqfs_compressor_exists(state->super.compression_id); - -#ifdef WITH_LZO -	if (state->super.compression_id == SQFS_COMP_LZO) -		ret = true; -#endif - -	if (!ret) { -		fprintf(stderr, "%s: unknown compressor used.\n", -			path); -		goto fail_file; -	} -  	sqfs_compressor_config_init(&state->cfg, state->super.compression_id,  				    state->super.block_size,  				    SQFS_COMP_FLAG_UNCOMPRESS); | 
