From b8a6913e0965e5f492dfbe2b39b52ab5813bf08d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 28 Oct 2002 19:20:59 +0000 Subject: prevent compiler warnings --- lib/url.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/url.c') diff --git a/lib/url.c b/lib/url.c index eb4003b22..edd2b3a39 100644 --- a/lib/url.c +++ b/lib/url.c @@ -1691,13 +1691,13 @@ static CURLcode CreateConnection(struct SessionHandle *data, int urllen; Curl_addrinfo *hostaddr; #ifdef HAVE_ALARM - unsigned int prev_alarm; + unsigned int prev_alarm=0; #endif char endbracket; #ifdef HAVE_SIGACTION struct sigaction keep_sigact; /* store the old struct here */ - bool keep_copysig; /* did copy it? */ + bool keep_copysig=FALSE; /* did copy it? */ #else #ifdef HAVE_SIGNAL void *keep_sigact; /* store the old handler here */ -- cgit v1.2.3