From: Ted Lemon Date: Thu, 16 May 1996 23:07:36 +0000 (+0000) Subject: Add an else clause to avoid redundant test X-Git-Tag: BETA-2~105 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcc09faa7c05acae0b91448cabe37cd341d6f063;p=thirdparty%2Fdhcp.git Add an else clause to avoid redundant test --- diff --git a/common/dispatch.c b/common/dispatch.c index e7a843673..154e115f3 100644 --- a/common/dispatch.c +++ b/common/dispatch.c @@ -109,7 +109,7 @@ void discover_interfaces () LLADDR (foo), foo -> sdl_alen); lp -> next = interface_links; interface_links = lp; - } + } else #endif /* AF_LINK */ if (ifp -> ifr_addr.sa_family == AF_INET) { diff --git a/dispatch.c b/dispatch.c index e7a843673..154e115f3 100644 --- a/dispatch.c +++ b/dispatch.c @@ -109,7 +109,7 @@ void discover_interfaces () LLADDR (foo), foo -> sdl_alen); lp -> next = interface_links; interface_links = lp; - } + } else #endif /* AF_LINK */ if (ifp -> ifr_addr.sa_family == AF_INET) {