diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2016-12-03 08:18:56 -0800 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2016-12-04 07:48:47 -0800 |
commit | 123f9cfaf7730dcc52c380eaf04c15dc3e0b15f8 (patch) | |
tree | e5f159d765beaba71aa9d0493f7fd4e179fa06fe /gzlib.c | |
parent | 9dc5a8585f429109ef1948ab71b6b71bfa7181e2 (diff) | |
download | zlib-123f9cfaf7730dcc52c380eaf04c15dc3e0b15f8.tar.gz |
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.
Diffstat (limited to 'gzlib.c')
-rw-r--r-- | gzlib.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -615,7 +615,6 @@ void ZLIB_INTERNAL gz_error(state, err, msg) strcat(state->msg, ": "); strcat(state->msg, msg); #endif - return; } #ifndef INT_MAX |