No need to use do { } while (0) construct

This commit is contained in:
sin 2014-02-04 16:49:18 +00:00
parent 136f2f3b60
commit b0e4b45e3b
1 changed files with 1 additions and 3 deletions

View File

@ -154,9 +154,7 @@ uudecode(FILE *fp, FILE *outfp)
#define DEC(c) (((c) - ' ') & 077) /* single character decode */
#define IS_DEC(c) ( (((c) - ' ') >= 0) && (((c) - ' ') <= 077 + 1) )
#define OUT_OF_RANGE(c) do { \
eprintf("character %c out of range: [%d-%d]",(c), 1+' ',077+' '+1); \
} while (0)
#define OUT_OF_RANGE(c) eprintf("character %c out of range: [%d-%d]", (c), 1 + ' ', 077 + ' ' + 1)
while (afgets(&bufb,&n,fp)) {
p = bufb;