summaryrefslogtreecommitdiff
path: root/lib/common/comp_opt.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-06-25 14:14:26 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-06-25 15:12:41 +0200
commitd4690eeabe557753b394b8f83b5dbaf83e57e15f (patch)
tree718a8342f450bc74b746d64d873ec3644419da73 /lib/common/comp_opt.c
parent8348086b48af0cbabe4cf2b64992ced6561ea50c (diff)
Add default cases for every switch block
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/common/comp_opt.c')
-rw-r--r--lib/common/comp_opt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/common/comp_opt.c b/lib/common/comp_opt.c
index a0d4cf7..d605c0c 100644
--- a/lib/common/comp_opt.c
+++ b/lib/common/comp_opt.c
@@ -212,6 +212,8 @@ int compressor_cfg_init_options(sqfs_compressor_config_t *cfg,
case OPT_PB: cfg->opt.xz.pb = ival; break;
case OPT_WINDOW: cfg->opt.gzip.window_size = ival; break;
case OPT_DICT: cfg->opt.xz.dict_size = ival; break;
+ default:
+ break;
}
}