diff options
author | Nobuyoshi Nakada <[email protected]> | 2021-08-31 23:18:26 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-08-31 23:20:42 +0900 |
commit | d3155e3632b8d967c99863de993e793e52bd59c6 (patch) | |
tree | ea04187edb13cc5109a898052d192026a525199d /ext/zlib/zlib.c | |
parent | 31c427511c71f9491697cbdfc02731ad04ea57c6 (diff) |
[ruby/zlib] Don't print out warnings when finalizing
https://github.com/ruby/zlib/commit/44a56d36e7
Diffstat (limited to 'ext/zlib/zlib.c')
-rw-r--r-- | ext/zlib/zlib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index 794cf3b103..f9af18f530 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -354,7 +354,9 @@ raise_zlib_error(int err, const char *msg) static void finalizer_warn(const char *msg) { +#if 0 fprintf(stderr, "zlib(finalizer): %s\n", msg); +#endif } |