From cda4a5fd20fef89119bebeb5e8b1b70d97c07b54 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 16 Sep 1999 20:19:54 +0000 Subject: [PATCH] (main): Remove unused variables. (sort_args, Fkill_emacs, Fkill_emacs): Ditto. (toplevel) [HAVE_UNISTD_H]: Include unistd.h. --- src/emacs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/emacs.c b/src/emacs.c index f4adb3795c3..8d105289a95 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -32,6 +32,10 @@ Boston, MA 02111-1307, USA. */ #include #endif +#ifdef HAVE_UNISTD_H +#include +#endif + #ifdef BSD_SYSTEM #include #endif @@ -1071,7 +1075,6 @@ the Bugs section of the Emacs manual or the file BUGS.\n", argv[0]); to run until we've recognized this argument. */ { char *displayname = 0; - int i; int count_before = skip_args; /* Skip any number of -d options, but only use the last one. */ @@ -1485,7 +1488,6 @@ sort_args (argc, argv) int incoming_used = 1; int from; int i; - int end_of_options = argc; /* Categorize all the options, and figure out which argv elts are option arguments. */ @@ -1627,8 +1629,6 @@ all of which are called before Emacs is actually killed.") (arg) Lisp_Object arg; { - Lisp_Object hook, hook1; - int i; struct gcpro gcpro1; GCPRO1 (arg); -- 2.39.5