From: AKHIL KUMAR Date: Wed, 13 Mar 2024 06:32:59 +0000 (+0530) Subject: networkctl.c : call 'assert_not_reached' where appropriate X-Git-Tag: v256-rc1~551 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cbc701ded0bc7338c5f6eb6b194bdb72b164618;p=thirdparty%2Fsystemd.git networkctl.c : call 'assert_not_reached' where appropriate networkctl.c : call 'assert_not_reached' where appropriate --- diff --git a/src/network/networkctl.c b/src/network/networkctl.c index 88e5b5ec9ea..7ee0961fa6a 100644 --- a/src/network/networkctl.c +++ b/src/network/networkctl.c @@ -1108,7 +1108,7 @@ static int get_gateway_description( break; default: - continue; + assert_not_reached(); } if (!in_addr_equal(fam, &gw, gateway))