dhcp6: fix uninitialized variable in returning from client_parse_message() (#8187)

Compiler warns about this with -Werror=maybe-uninitialized.

Fixes: 3bc424a3cc
This commit is contained in:
Thomas Haller 2018-02-15 10:49:55 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent cac26f0bc8
commit 2e016b98c3
1 changed files with 1 additions and 1 deletions

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) {