libsystemd-network: unitialized return value

r will *usually* be set, but for some packets it might not.

CID #1385308.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-02-15 09:20:36 +01:00
parent cac26f0bc8
commit 21a9905c7a

View file

@ -973,7 +973,7 @@ static int client_parse_message(
lease->pd.ia_pd.lifetime_t2 = htobe32(lt_t2);
}
return r;
return 0;
}
static int client_receive_reply(sd_dhcp6_client *client, DHCP6Message *reply, size_t len) {