From 6efb142eeae28cb4cde5b28c36a08d9de7e083cc Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Tue, 20 Nov 2001 04:11:16 +0000 Subject: remove gcc warnings --- main.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 7c6d797..3d62f32 100644 --- a/main.c +++ b/main.c @@ -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 @@ -9,6 +9,7 @@ #include #include "terms.h" #include "myctype.h" +#include "regex.h" #ifdef MOUSE #ifdef USE_GPM #include @@ -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; -- cgit v1.2.3