aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-10-28 19:20:59 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-10-28 19:20:59 +0000
commitb8a6913e0965e5f492dfbe2b39b52ab5813bf08d (patch)
treef838bef30e2bf0a7db269749c3d7bf470e4c64ed /lib/url.c
parent744d8c1006e5aeb3abe4f42949a148b2e8f9cea4 (diff)
prevent compiler warnings
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c4
1 files changed, 2 insertions, 2 deletions
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 */