From 5c7417c4d180ceceb761c9ceec64ede9d88f53b1 Mon Sep 17 00:00:00 2001 From: Garrett Wollman Date: Thu, 30 May 2002 21:41:42 +0000 Subject: [PATCH] Avoid construction which results in label at end of block. --- sbin/route/route.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sbin/route/route.c b/sbin/route/route.c index 001dec675323..55e61a2b2717 100644 --- a/sbin/route/route.c +++ b/sbin/route/route.c @@ -983,12 +983,16 @@ getaddr(which, s, hpp) switch (which) { case RTA_DST: forcenet++; - /* bzero(su, sizeof(*su)); *//* for readability */ +#if 0 + bzero(su, sizeof(*su)); /* for readability */ +#endif (void) getaddr(RTA_NETMASK, s, 0); break; +#if 0 case RTA_NETMASK: case RTA_GENMASK: - /* bzero(su, sizeof(*su)); *//* for readability */ + bzero(su, sizeof(*su)); /* for readability */ +#endif } return (0); }