From 21b16e9715abf33075ceae9980a16f520921abaa Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sat, 31 May 2003 20:07:16 +0000 Subject: [PATCH] Wrap macro in do {...} while(0); Found by: FlexeLint --- sys/net/if_atmsubr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/if_atmsubr.c b/sys/net/if_atmsubr.c index 148c2ec9765b..53dc570d4307 100644 --- a/sys/net/if_atmsubr.c +++ b/sys/net/if_atmsubr.c @@ -77,7 +77,7 @@ SYSCTL_NODE(_hw, OID_AUTO, atm, CTLFLAG_RW, 0, "ATM hardware"); #define ETHERTYPE_IPV6 0x86dd #endif -#define senderr(e) { error = (e); goto bad;} +#define senderr(e) do { error = (e); goto bad;} while (0) /* * atm_output: ATM output routine