diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2016-12-03 08:18:56 -0800 |
---|---|---|
committer | Hans Kristian Rosbach <hk-git@circlestorm.org> | 2017-02-06 13:06:25 +0100 |
commit | 867e98156585407acd4b5fd78ce6f0b174bced8e (patch) | |
tree | 7a9d928a43502c06293300267ef4cbe068971e07 /gzlib.c | |
parent | 40039a039c26da37cdc972aa650a9ea40e310f20 (diff) |
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
@@ -496,7 +496,6 @@ void ZLIB_INTERNAL gz_error(gz_statep state, int err, const char *msg) { return; } snprintf(state->msg, strlen(state->path) + strlen(msg) + 3, "%s%s%s", state->path, ": ", msg); - return; } #ifndef INT_MAX |