commit 88623d6c754c54dcd573d6e7369835cc959a60e8
parent 4e65e6dd3b56d51336d879f607ecbea2e568cedc
Author: ukai <ukai>
Date: Fri, 10 Jan 2003 17:15:08 +0000
fix compiler warnings
* html.h (UFclose): value computed but not used
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat:
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-11 Fumitoshi UKAI <ukai@debian.or.jp>
+
+ * fix compiler warnings
+ * html.h (UFclose): value computed but not used
+
2003-01-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03632] cleanup (don't close connection of news server)
diff --git a/html.h b/html.h
@@ -14,7 +14,7 @@
#define UFgetc(f) ISgetc((f)->stream)
#define UFundogetc(f) ISundogetc((f)->stream)
#define UFread(f,buf,len) ISread((f)->stream,buf,len)
-#define UFclose(f) (ISclose((f)->stream) == 0 && ((f)->stream = NULL))
+#define UFclose(f) (void)(ISclose((f)->stream) == 0 && ((f)->stream = NULL))
struct cmdtable {
char *cmdname;