]> diplodocus.org Git - nmh/blobdiff - uip/mhshow.c
Whoops, forgot to initialize the linked list next pointer to NULL.
[nmh] / uip / mhshow.c
index 76a0d022d959de2f786c94aff95f7a4cbb904d7b..f19f9a9d9009a94e7327c96438f505d9c5ab7d9b 100644 (file)
@@ -11,8 +11,6 @@
 #include <fcntl.h>
 #include <h/signals.h>
 #include <h/md5.h>
-#include <errno.h>
-#include <signal.h>
 #include <h/mts.h>
 #include <h/tws.h>
 #include <h/mime.h>
@@ -71,7 +69,6 @@ extern char *cache_private;
 extern int pausesw;
 extern int serialsw;
 extern char *progsw;
-extern int nolist;
 extern int nomore;     /* flags for moreproc/header display */
 extern char *formsw;
 
@@ -122,9 +119,7 @@ main (int argc, char **argv)
 
     done=freects_done;
 
-#ifdef LOCALE
     setlocale(LC_ALL, "");
-#endif
     invo_name = r1bindex (argv[0], '/');
 
     /* read user profile/context */