From 31750e8a12eafcd1b8fa81cb12b988e680254f24 Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Wed, 7 Sep 2016 07:52:38 +0200 Subject: [PATCH] Remove not used code (JLR define) I don't yet understand what the code does but we've never used it and didn't miss it, thus it appears to be a good decision to just remove it. --- sbr/fmt_scan.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/sbr/fmt_scan.c b/sbr/fmt_scan.c index 37bf16a..2485e6c 100644 --- a/sbr/fmt_scan.c +++ b/sbr/fmt_scan.c @@ -882,17 +882,4 @@ finished:; *cp++ = '\n'; *cp = '\0'; return ((struct format *)0); - -#ifdef JLR - /* I'll remove this as soon as I understand what it does. --meillo */ - 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 */ - } -- 1.7.10.4