1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-31 14:50:15 +03:00

network: fix use of uninitialized value

Follow-up for 6e537f62d71edea5bfcd2e2675c35ee840ffdc1f.
This commit is contained in:
Yu Watanabe 2020-07-30 12:45:36 +09:00 committed by Zbigniew Jędrzejewski-Szmek
parent b209cff2ad
commit 2ac7eec3b5

View File

@ -548,7 +548,7 @@ static int dhcp4_remove_all(Link *link) {
}
static int dhcp_lease_lost(Link *link) {
int k, r;
int k, r = 0;
assert(link);
assert(link->dhcp_lease);