summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/sd-dhcp-client.c
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-03-27 20:13:11 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-03-27 20:16:49 +0100
commit9f2a50a3005a771a3b6cea2136b6a6c7e5686a0e (patch)
tree230d726af1ad98776122cc03361cd17ad872ac77 /src/libsystemd-network/sd-dhcp-client.c
parent93c941e3fb232da014a4b8050c960b63cb2bbf3d (diff)
silence warnings
Diffstat (limited to 'src/libsystemd-network/sd-dhcp-client.c')
-rw-r--r--src/libsystemd-network/sd-dhcp-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/sd-dhcp-client.c b/src/libsystemd-network/sd-dhcp-client.c
index 0be6212a4f..06b2d1c60d 100644
--- a/src/libsystemd-network/sd-dhcp-client.c
+++ b/src/libsystemd-network/sd-dhcp-client.c
@@ -292,7 +292,7 @@ static int dhcp_client_send_raw(sd_dhcp_client *client, DHCPPacket *packet,
}
static int client_send_discover(sd_dhcp_client *client) {
- _cleanup_free_ DHCPPacket *discover;
+ _cleanup_free_ DHCPPacket *discover = NULL;
size_t optlen, len;
uint8_t *opt;
usec_t time_now;