Fix for compiler warning
src/genlib/net/http/httpreadwrite.c: In function ‘http_OpenHttpConnection’: src/genlib/net/http/httpreadwrite.c:1072:69: warning: unused parameter ‘timeout’
This commit is contained in:
parent
4cd4b1789f
commit
ecaf15417a
@ -1124,6 +1124,8 @@ int http_OpenHttpConnection(const char *url_str, void **Handle, int timeout)
|
|||||||
errorHandler:
|
errorHandler:
|
||||||
*Handle = handle;
|
*Handle = handle;
|
||||||
return ret_code;
|
return ret_code;
|
||||||
|
/* Unused parameter */
|
||||||
|
timeout = timeout;
|
||||||
}
|
}
|
||||||
|
|
||||||
int http_MakeHttpRequest(Upnp_HttpMethod method,
|
int http_MakeHttpRequest(Upnp_HttpMethod method,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user