From a59946091a8ee121ad89708efb0b719e0d1e179a Mon Sep 17 00:00:00 2001 From: David Levine Date: Tue, 11 Dec 2012 23:24:19 -0600 Subject: [PATCH] Removed a few #ifndef JLR/#endif pairs because they're not needed. --- sbr/fmt_scan.c | 13 +------------ uip/scan.c | 4 ---- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/sbr/fmt_scan.c b/sbr/fmt_scan.c index 3818b85..ac4d23a 100644 --- a/sbr/fmt_scan.c +++ b/sbr/fmt_scan.c @@ -994,7 +994,7 @@ fmt_scan (struct format *format, char *scanl, size_t max, int width, int *dat) } fmt++; } -#ifndef JLR + /* Emit any trailing sequences of zero display length. */ while (fmt->f_type != FT_DONE) { if (fmt->f_type == FT_LS_LIT) { @@ -1021,15 +1021,4 @@ fmt_scan (struct format *format, char *scanl, size_t max, int width, int *dat) } *cp = '\0'; return ((struct format *)0); -#else /* JLR */ - if (cp[-1] != '\n') - *cp++ = '\n'; - while (fmt->f_type != FT_DONE) - fmt++; - - finished:; - *cp = '\0'; - return (fmt->f_value ? ++fmt : (struct format *) 0); - -#endif /* JLR */ } diff --git a/uip/scan.c b/uip/scan.c index b22297f..08c893b 100644 --- a/uip/scan.c +++ b/uip/scan.c @@ -184,11 +184,9 @@ main (int argc, char **argv) adios (file, "unable to open"); } -#ifndef JLR if (hdrflag) { printf ("FOLDER %s\t%s\n", file, dtimenow (1)); } -#endif /* JLR */ m_unknown (in); for (msgnum = 1; ; ++msgnum) { @@ -265,11 +263,9 @@ main (int argc, char **argv) continue; } -#ifndef JLR if (hdrflag) { printf ("FOLDER %s\t%s\n", folder, dtimenow(1)); } -#endif /* JLR */ /* * Check if message is in any sequence given -- 1.7.10.4