From 123f9cfaf7730dcc52c380eaf04c15dc3e0b15f8 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Sat, 3 Dec 2016 08:18:56 -0800 Subject: Clean up gz* function return values. In some cases the return values did not match the documentation, or the documentation did not document all of the return values. gzprintf() now consistently returns negative values on error, which matches the behavior of the stdio fprintf() function. --- gzlib.c | 1 - 1 file changed, 1 deletion(-) (limited to 'gzlib.c') diff --git a/gzlib.c b/gzlib.c index 71785cc..a52c55b 100644 --- a/gzlib.c +++ b/gzlib.c @@ -615,7 +615,6 @@ void ZLIB_INTERNAL gz_error(state, err, msg) strcat(state->msg, ": "); strcat(state->msg, msg); #endif - return; } #ifndef INT_MAX -- cgit v1.2.3-55-g6feb