Remove RCS keywords, since they no longer work after git migration.
[mmh] / uip / mhlsbr.c
index 420dbb6..58b2978 100644 (file)
@@ -2,8 +2,6 @@
 /*
  * mhlsbr.c -- main routines for nmh message lister
  *
- * $Id$
- *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
  * complete copyright information.
@@ -794,8 +792,8 @@ parse (void)
 static void
 process (char *folder, char *fname, int ofilen, int ofilec)
 {
-    char *cp;
-    FILE *fp;
+    char *cp = NULL;
+    FILE *fp = NULL;
     struct mcomp *c1;
 
     switch (setjmp (env)) {
@@ -1544,7 +1542,9 @@ bad_faceproc: ;
        }
 
        memset(&hints, 0, sizeof(hints));
+#ifdef AI_ADDRCONFIG
        hints.ai_flags = AI_ADDRCONFIG;
+#endif
        hints.ai_family = PF_UNSPEC;
        hints.ai_socktype = SOCK_DGRAM;
 
@@ -1687,8 +1687,8 @@ doface (struct mcomp *c1)
 int
 mhlsbr (int argc, char **argv, FILE *(*action)())
 {
-    SIGNAL_HANDLER istat, pstat, qstat;
-    char *cp;
+    SIGNAL_HANDLER istat = NULL, pstat = NULL, qstat = NULL;
+    char *cp = NULL;
     struct mcomp *c1;
 
     switch (setjmp (mhlenv)) {