From: Ralph Corderoy Date: Thu, 17 Aug 2017 11:20:16 +0000 (+0100) Subject: fmtdump.c, fmttest.c: Remove tests for FT_LIT_FORCE. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/efb2c94fbc4861fc81307cd5d0ce22eb16e6de26 fmtdump.c, fmttest.c: Remove tests for FT_LIT_FORCE. It isn't defined, and git-grep(1) suggests it was a local Lawrence Berkeley Laboratory modification that output a literal without consuming any of the width budget. --- diff --git a/uip/fmtdump.c b/uip/fmtdump.c index 57968f0e..eeeb1461 100644 --- a/uip/fmtdump.c +++ b/uip/fmtdump.c @@ -238,9 +238,6 @@ dumpone(struct format *fmt) break; case FT_LIT: -#ifdef FT_LIT_FORCE - case FT_LIT_FORCE: -#endif putchar(' '); litputs(fmt->f_text); break; @@ -346,9 +343,6 @@ f_typestr(int t) case FT_COMPF: return("COMPF"); case FT_LIT: return("LIT"); case FT_LITF: return("LITF"); -#ifdef FT_LIT_FORCE - case FT_LIT_FORCE: return("LIT_FORCE"); -#endif case FT_CHAR: return("CHAR"); case FT_NUM: return("NUM"); case FT_NUMF: return("NUMF"); diff --git a/uip/fmttest.c b/uip/fmttest.c index 301321b7..becf25d1 100644 --- a/uip/fmttest.c +++ b/uip/fmttest.c @@ -865,9 +865,6 @@ dumpone(struct format *fmt) break; case FT_LIT: -#ifdef FT_LIT_FORCE - case FT_LIT_FORCE: -#endif putchar(' '); litputs(fmt->f_text); break; @@ -1011,9 +1008,6 @@ f_typestr(int t) case FT_COMPF: return("COMPF"); case FT_LIT: return("LIT"); case FT_LITF: return("LITF"); -#ifdef FT_LIT_FORCE - case FT_LIT_FORCE: return("LIT_FORCE"); -#endif case FT_CHAR: return("CHAR"); case FT_NUM: return("NUM"); case FT_NUMF: return("NUMF");