From ef4d9a1ecbf1dfdd4929a505ebe3b45b0e444585 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Tue, 1 Nov 2011 10:32:37 +0000 Subject: [PATCH] fix warnings (svn:NO TEST) git-svn-id: file:///svn/unbound/trunk@2536 be551aaa-1e26-0410-a405-d3ace91eadb9 --- testcode/streamtcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testcode/streamtcp.c b/testcode/streamtcp.c index 89dab8b57..b46353ba2 100644 --- a/testcode/streamtcp.c +++ b/testcode/streamtcp.c @@ -274,8 +274,8 @@ send_em(const char* svr, int udp, int usessl, int noanswer, int num, char** qs) ldns_buffer* buf = ldns_buffer_new(65553); int fd = open_svr(svr, udp); int i; - SSL_CTX* ctx; - SSL* ssl; + SSL_CTX* ctx = NULL; + SSL* ssl = NULL; if(!buf) fatal_exit("out of memory"); if(usessl) { ctx = connect_sslctx_create(NULL, NULL, NULL); -- 2.47.2