diff options
author | NIIBE Yutaka <[email protected]> | 2022-03-29 03:07:18 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2022-03-29 03:07:18 +0000 |
commit | 2cebba72749c7e564e62a997dd87f912962098c9 (patch) | |
tree | 46a137cda6072613cca1663d89bb508c79713898 /g10/compress.c | |
parent | scd,w32: Fix socket resource leak. (diff) | |
download | gnupg-2cebba72749c7e564e62a997dd87f912962098c9.tar.gz gnupg-2cebba72749c7e564e62a997dd87f912962098c9.zip |
gpg,tools: Remove use of repo only zlib-riscos.h.
* g10/compress.c: Don't use zlib-riscos.h.
* tools/gpgsplit.c: Likewise.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'g10/compress.c')
-rw-r--r-- | g10/compress.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/g10/compress.c b/g10/compress.c index 777ef47fb..9e094460f 100644 --- a/g10/compress.c +++ b/g10/compress.c @@ -32,9 +32,6 @@ #include <errno.h> #ifdef HAVE_ZIP # include <zlib.h> -# if defined(__riscos__) && defined(USE_ZLIBRISCOS) -# include "zlib-riscos.h" -# endif #endif #include "gpg.h" @@ -63,13 +60,6 @@ init_compress( compress_filter_context_t *zfx, z_stream *zs ) int rc; int level; -#if defined(__riscos__) && defined(USE_ZLIBRISCOS) - static int zlib_initialized = 0; - - if (!zlib_initialized) - zlib_initialized = riscos_load_module("ZLib", zlib_path, 1); -#endif - if( opt.compress_level >= 1 && opt.compress_level <= 9 ) level = opt.compress_level; else if( opt.compress_level == -1 ) |