diff options
author | Thomas Haller <thaller@redhat.com> | 2020-12-23 13:18:56 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-12-26 09:01:01 +0900 |
commit | 1835a8a1055f797f8025a572a53088e2ccf0f1c6 (patch) | |
tree | 56744127c18e4fd7929ae04c5a5952ec4cba7c73 /src/shared/dns-domain.c | |
parent | b94557330329821bbafc0d69f246d2fdae8c8025 (diff) | |
download | systemd-1835a8a1055f797f8025a572a53088e2ccf0f1c6.tar.gz |
sd-dhcp-client: avoid "maybe-uninitialized" warning in client_timeout_resend()
When compiling with CFLAGS='-Werror=maybe-uninitialized -Og' we get a
warning about uninitialized "next_timeout" variable.
Avoid the warning by adding an (unreachable) "default" label.
Fixes: c24288d21ee9 ("sd-dhcp-client: correct dhcpv4 renew/rebind retransmit timeouts")
Diffstat (limited to 'src/shared/dns-domain.c')
0 files changed, 0 insertions, 0 deletions