From c271b1c29a176612c98977fd1c722952e86aace9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rainer=20M=C3=BCller?= Date: Thu, 6 Oct 2016 08:06:13 +0200 Subject: CURLOPT_DEBUGFUNCTION.3: unused argument warning (#1056) The 'userp' argument is unused in this example code. --- docs/libcurl/opts/CURLOPT_DEBUGFUNCTION.3 | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/libcurl') diff --git a/docs/libcurl/opts/CURLOPT_DEBUGFUNCTION.3 b/docs/libcurl/opts/CURLOPT_DEBUGFUNCTION.3 index bf07499a0..535c5302b 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: -- cgit v1.2.3