gcc -Wall -Werror safe
* anchor.c (addMultirowsImg): unused variable: fi * display.c (redrawLineImage): unused variable: ncol * file.c (process_img): uninitialized variables: r2, ni, w0, i0, ismap unused variable: url, ext * file.c (loadHTMLstream): need volatile image_flag * image.c (image_index): int * image.c (getCharSize): need prototype * image.c (getImage): uninitialized variable: key return NULL * map.c (follow_map_menu): used only USE_IMAGE: px, py, map * map.c (newMapArea): used only USE_IMAGE: p, i, max * proto.h (addMultirowsImg): added * w3mimgdisplay.c (main): format string fix * w3mimgdisplay.c (DrawImage): need (Pixmap) cast * inflate.c: indent From: Fumitoshi UKAI <ukai@debian.or.jp>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $Id: inflate.c,v 1.6 2002/01/31 15:26:19 ukai Exp $ */
|
||||
/* $Id: inflate.c,v 1.7 2002/01/31 18:28:24 ukai Exp $ */
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <zlib.h>
|
||||
@@ -52,7 +52,7 @@ main(int argc, char **argv)
|
||||
fwrite(outbuf, 1, sizeof(outbuf) - s.avail_out, stdout);
|
||||
break;
|
||||
}
|
||||
if (status == Z_DATA_ERROR && ! retry++) {
|
||||
if (status == Z_DATA_ERROR && !retry++) {
|
||||
status = inflateReset(&s);
|
||||
if (status != Z_OK) {
|
||||
fprintf(stderr, "%s: inflateReset() %s\n", argv[0],
|
||||
|
Reference in New Issue
Block a user