From df7ee937bae72b11802f84a5f4c1802b623e2dcc Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Tue, 10 May 2016 19:16:34 +0200 Subject: ipcpd: Fix unitialized value A value that was unitialized was being treated as an error in the release build with gcc. --- src/ipcpd/shim-udp/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ipcpd/shim-udp/main.c b/src/ipcpd/shim-udp/main.c index bb5c233f..ef7b9909 100644 --- a/src/ipcpd/shim-udp/main.c +++ b/src/ipcpd/shim-udp/main.c @@ -538,8 +538,8 @@ static uint32_t ddns_resolve(char * name, uint32_t dns_addr) char dnsstr[INET_ADDRSTRLEN]; char buf[SHIM_UDP_BUF_SIZE]; ssize_t count = 0; - char * substr; - char * substr2; + char * substr = NULL; + char * substr2 = NULL; char * addr_str = "Address:"; uint32_t ip_addr = 0; -- cgit v1.2.3