projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c16c8a
)
networkctl.c : call 'assert_not_reached' where appropriate
author
AKHIL KUMAR
<akhilpvghi@gmail.com>
Wed, 13 Mar 2024 06:32:59 +0000
(12:02 +0530)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Wed, 13 Mar 2024 12:46:05 +0000
(21:46 +0900)
networkctl.c : call 'assert_not_reached' where appropriate
src/network/networkctl.c
patch
|
blob
|
history
diff --git
a/src/network/networkctl.c
b/src/network/networkctl.c
index 88e5b5ec9ea1272bad76adea9b0bc767535ff256..7ee0961fa6a00dae1694aa6ccfc2763c27d2751e 100644
(file)
--- 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))