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:
Marcelo Roberto Jimenez 2012-03-13 15:20:28 -03:00
parent 4cd4b1789f
commit ecaf15417a

View File

@ -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,