From ecaf15417afb128eebe3420242cfcf1c2c4470cc Mon Sep 17 00:00:00 2001 From: Marcelo Roberto Jimenez Date: Tue, 13 Mar 2012 15:20:28 -0300 Subject: [PATCH] Fix for compiler warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit src/genlib/net/http/httpreadwrite.c: In function ‘http_OpenHttpConnection’: src/genlib/net/http/httpreadwrite.c:1072:69: warning: unused parameter ‘timeout’ --- upnp/src/genlib/net/http/httpreadwrite.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/upnp/src/genlib/net/http/httpreadwrite.c b/upnp/src/genlib/net/http/httpreadwrite.c index ce15071..35021ef 100644 --- a/upnp/src/genlib/net/http/httpreadwrite.c +++ b/upnp/src/genlib/net/http/httpreadwrite.c @@ -1124,6 +1124,8 @@ int http_OpenHttpConnection(const char *url_str, void **Handle, int timeout) errorHandler: *Handle = handle; return ret_code; + /* Unused parameter */ + timeout = timeout; } int http_MakeHttpRequest(Upnp_HttpMethod method,