Removed a few #ifndef JLR/#endif pairs because they're not needed.
authorDavid Levine <levinedl@acm.org>
Wed, 12 Dec 2012 05:24:19 +0000 (23:24 -0600)
committerDavid Levine <levinedl@acm.org>
Wed, 12 Dec 2012 05:24:19 +0000 (23:24 -0600)
sbr/fmt_scan.c
uip/scan.c

index 3818b85..ac4d23a 100644 (file)
@@ -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 */
 }
index b22297f..08c893b 100644 (file)
@@ -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