From: markus schnalke Date: Wed, 7 Sep 2016 05:52:38 +0000 (+0200) Subject: Remove not used code (JLR define) X-Git-Tag: mmh-0.4~63 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=31750e8a12eafcd1b8fa81cb12b988e680254f24;p=mmh 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. --- 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 */ - }