diff options
Diffstat (limited to 'src/decompress.c')
| -rw-r--r-- | src/decompress.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/decompress.c b/src/decompress.c index cd8a3d1e962..24ce852245c 100644 --- a/src/decompress.c +++ b/src/decompress.c | |||
| @@ -60,10 +60,7 @@ init_zlib_functions (void) | |||
| 60 | HMODULE library = w32_delayed_load (Qzlib_dll); | 60 | HMODULE library = w32_delayed_load (Qzlib_dll); |
| 61 | 61 | ||
| 62 | if (!library) | 62 | if (!library) |
| 63 | { | 63 | return false; |
| 64 | message1 ("zlib library not found"); | ||
| 65 | return false; | ||
| 66 | } | ||
| 67 | 64 | ||
| 68 | LOAD_ZLIB_FN (library, inflateInit2_); | 65 | LOAD_ZLIB_FN (library, inflateInit2_); |
| 69 | LOAD_ZLIB_FN (library, inflate); | 66 | LOAD_ZLIB_FN (library, inflate); |
| @@ -150,7 +147,10 @@ This function can be called only in unibyte buffers. */) | |||
| 150 | if (!zlib_initialized) | 147 | if (!zlib_initialized) |
| 151 | zlib_initialized = init_zlib_functions (); | 148 | zlib_initialized = init_zlib_functions (); |
| 152 | if (!zlib_initialized) | 149 | if (!zlib_initialized) |
| 153 | return Qnil; | 150 | { |
| 151 | message1 ("zlib library not found"); | ||
| 152 | return Qnil; | ||
| 153 | } | ||
| 154 | #endif | 154 | #endif |
| 155 | 155 | ||
| 156 | /* This is a unibyte buffer, so character positions and bytes are | 156 | /* This is a unibyte buffer, so character positions and bytes are |