aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-01-10 17:15:08 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-01-10 17:15:08 +0000
commit0a6511f3dc8442ff913a072a6addb228121e8b97 (patch)
tree8528fe810bc0e9220b6500254cb0f685eb30a9bb
parent[w3m-dev 03632] cleanup (don't close connection of news server) (diff)
downloadw3m-0a6511f3dc8442ff913a072a6addb228121e8b97.tar.gz
w3m-0a6511f3dc8442ff913a072a6addb228121e8b97.zip
fix compiler warnings
* html.h (UFclose): value computed but not used From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to '')
-rw-r--r--ChangeLog7
-rw-r--r--html.h4
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 56b61bb..9dff318 100644
--- 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)
@@ -6349,4 +6354,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.671 2003/01/10 17:06:17 ukai Exp $
+$Id: ChangeLog,v 1.672 2003/01/10 17:15:08 ukai Exp $
diff --git a/html.h b/html.h
index af56799..3edea1e 100644
--- a/html.h
+++ b/html.h
@@ -1,4 +1,4 @@
-/* $Id: html.h,v 1.20 2003/01/10 17:06:23 ukai Exp $ */
+/* $Id: html.h,v 1.21 2003/01/10 17:15:22 ukai Exp $ */
#ifndef _HTML_H
#define _HTML_H
#ifdef USE_SSL
@@ -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;