From 00796ec24ea3589cce262fcad15a23b70576de47 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Thu, 25 May 2017 14:36:33 +0100 Subject: [PATCH] sbr/fmt_compile.c: Delete single-use NEWFMT macro. Its simple content was to increment a variable; doing that in situ is more clear. --- sbr/fmt_compile.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sbr/fmt_compile.c b/sbr/fmt_compile.c index b0ce6462..6173be33 100644 --- a/sbr/fmt_compile.c +++ b/sbr/fmt_compile.c @@ -296,9 +296,8 @@ static struct colormap colortable[] = { wantcomp[i] = cm; \ } while (0) -#define NEWFMT (next_fp++) #define NEW_FP(type,fill,wid) do {\ - fp=NEWFMT; fp->f_type=(type); fp->f_fill=(fill); fp->f_width=(wid); \ + fp=next_fp++; fp->f_type=(type); fp->f_fill=(fill); fp->f_width=(wid); \ } while (0) /* Add (possibly new) component to the hash table */ -- 2.56.0