From: Rainer Müller Date: Thu, 6 Oct 2016 06:06:13 +0000 (+0200) Subject: CURLOPT_DEBUGFUNCTION.3: unused argument warning (#1056) X-Git-Tag: curl-7_51_0~118 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c271b1c29a176612c98977fd1c722952e86aace9;p=thirdparty%2Fcurl.git CURLOPT_DEBUGFUNCTION.3: unused argument warning (#1056) The 'userp' argument is unused in this example code. --- diff --git a/docs/libcurl/opts/CURLOPT_DEBUGFUNCTION.3 b/docs/libcurl/opts/CURLOPT_DEBUGFUNCTION.3 index bf07499a08..535c5302b8 100644 --- a/docs/libcurl/opts/CURLOPT_DEBUGFUNCTION.3 +++ b/docs/libcurl/opts/CURLOPT_DEBUGFUNCTION.3 @@ -119,6 +119,7 @@ int my_trace(CURL *handle, curl_infotype type, { const char *text; (void)handle; /* prevent compiler warning */ + (void)userp; switch (type) { case CURLINFO_TEXT: