summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRainer Müller <raimue@codingfarm.de>2016-10-06 08:06:13 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-10-06 08:06:13 +0200
commitc271b1c29a176612c98977fd1c722952e86aace9 (patch)
treed0c28e3dfe8abfb23d996fc81deace7215543ead /docs
parent2a3bca9aa03e3a5a129e268a53eb11f33172d697 (diff)
downloadcurl-c271b1c29a176612c98977fd1c722952e86aace9.tar.gz
CURLOPT_DEBUGFUNCTION.3: unused argument warning (#1056)
The 'userp' argument is unused in this example code.
Diffstat (limited to 'docs')
-rw-r--r--docs/libcurl/opts/CURLOPT_DEBUGFUNCTION.31
1 files changed, 1 insertions, 0 deletions
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: