w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 8dadb5fe84af0862bca2e88f4638189bf9f97f40
parent 3da8cd41e8bb34cc02e4d9c8cddf91f2c5b5e09a
Author: ukai <ukai>
Date:   Tue, 20 Nov 2001 08:15:22 +0000

remove gcc warnings

Diffstat:
MChangeLog | 6+++++-
Mistream.c | 2+-
Mw3mhelperpanel.c | 2+-
3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,5 +1,9 @@ 2001-11-20 Fumitoshi UKAI <ukai@debian.or.jp> + * w3mhelperpanel.c (extractMailcapEntry): remove unused variables + * istream.c (StrISgets): add parentheses around assignment used + as truth value + * XMakefile (clean): remove funcname.c funcname1.h funcname2.h these are autogenerated files. * funcname.c funcname1.h funcname2.h: removed from CVS @@ -15,7 +19,7 @@ * ftp.c (ftp_escape_str ftp_restore_str): remove not used functions * indep.c (getescapechar): remove unused variable - * proto.h: add missin prototypes + * proto.h: add missing prototypes 2001-11-20 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> diff --git a/istream.c b/istream.c @@ -229,7 +229,7 @@ StrISgets(InputStream stream) do_update(base); } else { - if (p = memchr(&sb->buf[sb->cur], '\n', sb->next - sb->cur)) { + if ((p = memchr(&sb->buf[sb->cur], '\n', sb->next - sb->cur))) { len = p - &sb->buf[sb->cur] + 1; if (s == NULL) s = Strnew_size(len); diff --git a/w3mhelperpanel.c b/w3mhelperpanel.c @@ -33,7 +33,7 @@ char *local_cookie; void extractMailcapEntry(char *mcap_entry, char **type, char **cmd) { - int j, k; + int j; while (*mcap_entry && IS_SPACE(*mcap_entry)) mcap_entry++;