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:
parent
b209cff2ad
commit
2ac7eec3b5
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user