summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-05-10 19:16:34 +0200
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-05-10 19:16:34 +0200
commitdf7ee937bae72b11802f84a5f4c1802b623e2dcc (patch)
tree03c091d12b9b3b719d5e18b516df0341b5e2b3c5 /src
parente32a1b1c1add67ebe82ef6a3e45ae8b51f9f2e97 (diff)
downloadouroboros-df7ee937bae72b11802f84a5f4c1802b623e2dcc.tar.gz
ouroboros-df7ee937bae72b11802f84a5f4c1802b623e2dcc.zip
ipcpd: Fix unitialized value
A value that was unitialized was being treated as an error in the release build with gcc.
Diffstat (limited to 'src')
-rw-r--r--src/ipcpd/shim-udp/main.c4
1 files 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;