prevent compiler warnings

This commit is contained in:
Daniel Stenberg
2002-10-28 19:20:59 +00:00
parent 744d8c1006
commit b8a6913e09
4 changed files with 8 additions and 7 deletions

View File

@@ -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 */