]> diplodocus.org Git - nmh/commitdiff
Remove preprocessor conditionals on `lint'.
authorRalph Corderoy <ralph@inputplus.co.uk>
Mon, 18 Sep 2017 14:28:26 +0000 (15:28 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Mon, 18 Sep 2017 14:28:26 +0000 (15:28 +0100)
Treat all tests for `lint' being defined as false.  Don't know when
anyone had a lint(1) that could be run on the source, but none of the
areas had been touched in git's history, and at least one would have
been a compile error had it been defined.

sbr/fmt_compile.c
uip/mhparse.c
uip/whatnowsbr.c

index 9cb92f8..aeb770d 100644 (file)
@@ -488,9 +488,7 @@ do_spec(char *sp)
 {
     char *cp = sp;
     int c;
-#ifndef        lint
     int ljust = 0;
-#endif /* not lint */
     int wid = 0;
     char fill = ' ';
 
index c49d31f..efa8848 100644 (file)
@@ -2000,9 +2000,6 @@ openQuoted (CT ct, char **file)
        MD5Init (&mdContext);
 
     quoted = 0;
-#ifdef lint
-    mask = 0;
-#endif
 
     fseek (ct->c_fp, ct->c_begin, SEEK_SET);
     while (len > 0) {
index 98052e3..5183650 100644 (file)
@@ -1201,9 +1201,7 @@ sendit (char *sp, char **arg, char *file, int pushed)
 
     if ((cp = getenv ("mhdist"))
            && *cp
-#ifndef lint
            && atoi(cp)
-#endif /* not lint */
            && altmsg) {
        vec[vecp++] = "-dist";
        if ((cp = m_mktemp2(altmsg, invo_name, NULL, NULL)) == NULL) {