* compress.c (init_compress): Remove compress level 10 trick, since it is
[gnupg.git] / g10 / compress.c
index c428215..3a027e5 100644 (file)
@@ -64,14 +64,11 @@ init_compress( compress_filter_context_t *zfx, z_stream *zs )
        level = opt.compress_level;
     else if( opt.compress_level == -1 )
        level = Z_DEFAULT_COMPRESSION;
-    else if( opt.compress_level == 10 ) /* remove this ! */
-       level = 0;
     else {
        log_error("invalid compression level; using default level\n");
        level = Z_DEFAULT_COMPRESSION;
     }
 
-
     if( (rc = zfx->algo == 1? deflateInit2( zs, level, Z_DEFLATED,
                                            -13, 8, Z_DEFAULT_STRATEGY)
                            : deflateInit( zs, level )