mirror of
https://github.com/curl/curl.git
synced 2026-08-26 05:03:33 +03:00
prevent compiler warnings
This commit is contained in:
parent
744d8c1006
commit
b8a6913e09
4 changed files with 8 additions and 7 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue