-z is specified as "z:".

Signed-off-by: Ahelenia Ziemiańska <[email protected]>
---
 mkfs/main.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/mkfs/main.c b/mkfs/main.c
index 94f51df..d20147c 100644
--- a/mkfs/main.c
+++ b/mkfs/main.c
@@ -276,11 +276,6 @@ static int mkfs_parse_options_cfg(int argc, char *argv[])
                                  long_options, NULL)) != -1) {
                switch (opt) {
                case 'z':
-                       if (!optarg) {
-                               cfg.c_compr_alg[0] = "(default)";
-                               cfg.c_compr_level[0] = -1;
-                               break;
-                       }
                        i = mkfs_parse_compress_algs(optarg);
                        if (i)
                                return i;
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature

Reply via email to