diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-20 04:11:16 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-20 04:11:16 +0000 |
commit | 6efb142eeae28cb4cde5b28c36a08d9de7e083cc (patch) | |
tree | 12f3402987597dbfada1a47b3f1b544c293d23f3 /main.c | |
parent | [w3m-dev 02447] XTerm's mouse sequence should be skipped? (diff) | |
download | w3m-6efb142eeae28cb4cde5b28c36a08d9de7e083cc.tar.gz w3m-6efb142eeae28cb4cde5b28c36a08d9de7e083cc.zip |
remove gcc warnings
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.8 2001/11/19 07:58:24 ukai Exp $ */ +/* $Id: main.c,v 1.9 2001/11/20 04:11:16 ukai Exp $ */ #define MAINPROGRAM #include "fm.h" #include <signal.h> @@ -9,6 +9,7 @@ #include <sys/wait.h> #include "terms.h" #include "myctype.h" +#include "regex.h" #ifdef MOUSE #ifdef USE_GPM #include <gpm.h> @@ -505,11 +506,12 @@ MAIN(int argc, char **argv, char **envp) Str hs; if (++i >= argc) usage(); - if ((hs = make_optional_header_string(argv[i])) != NULL) + if ((hs = make_optional_header_string(argv[i])) != NULL) { if (header_string == NULL) header_string = hs; else Strcat (header_string, hs); + } } #ifdef MOUSE else if (!strcmp("-no-mouse", argv[i])) { @@ -4497,9 +4499,6 @@ set_buffer_environ(Buffer *buf) Anchor *a; Str s; ParsedURL pu; - TextListItem *ti; - struct frameset *f_set = NULL; - int all; if (buf == NULL) return; |