Skip to content
Commit 1835a8a1 authored by Thomas Haller's avatar Thomas Haller Committed by Yu Watanabe
Browse files

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: c24288d2 ("sd-dhcp-client: correct dhcpv4 renew/rebind retransmit timeouts")
parent b9455733
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment