From d1ab2a841c12403193ea057e55326be22b766b08 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Mon, 18 Sep 2017 15:28:26 +0100 Subject: [PATCH] Remove preprocessor conditionals on `lint'. 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 | 2 -- uip/mhparse.c | 3 --- uip/whatnowsbr.c | 2 -- 3 files changed, 7 deletions(-) diff --git a/sbr/fmt_compile.c b/sbr/fmt_compile.c index 9cb92f8f..aeb770d8 100644 --- a/sbr/fmt_compile.c +++ b/sbr/fmt_compile.c @@ -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 = ' '; diff --git a/uip/mhparse.c b/uip/mhparse.c index c49d31f5..efa88480 100644 --- a/uip/mhparse.c +++ b/uip/mhparse.c @@ -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) { diff --git a/uip/whatnowsbr.c b/uip/whatnowsbr.c index 98052e38..51836508 100644 --- a/uip/whatnowsbr.c +++ b/uip/whatnowsbr.c @@ -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) { -- 2.56.0