network: fix use of uninitialized value

Follow-up for 6e537f62d7.
This commit is contained in:
Yu Watanabe
2020-07-30 07:38:18 +02:00
committed by Zbigniew Jędrzejewski-Szmek
parent b209cff2ad
commit 2ac7eec3b5
+1 -1
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);