mirror of
https://github.com/curl/curl.git
synced 2026-08-26 02:23:31 +03:00
fix compiler warnings
This commit is contained in:
parent
800052dc50
commit
1b99d33b59
2 changed files with 3 additions and 1 deletions
|
|
@ -1477,6 +1477,8 @@ CURLcode Curl_posttransfer(struct SessionHandle *data)
|
|||
/* restore the signal handler for SIGPIPE before we get back */
|
||||
if(!data->set.no_signal)
|
||||
signal(SIGPIPE, data->state.prev_signal);
|
||||
#else
|
||||
(void)data; /* unused parameter */
|
||||
#endif
|
||||
|
||||
return CURLE_OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue