diff options
author | Rainer Müller <raimue@codingfarm.de> | 2016-10-06 08:06:13 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-10-06 08:06:13 +0200 |
commit | c271b1c29a176612c98977fd1c722952e86aace9 (patch) | |
tree | d0c28e3dfe8abfb23d996fc81deace7215543ead | |
parent | 2a3bca9aa03e3a5a129e268a53eb11f33172d697 (diff) |
CURLOPT_DEBUGFUNCTION.3: unused argument warning (#1056)
The 'userp' argument is unused in this example code.
-rw-r--r-- | docs/libcurl/opts/CURLOPT_DEBUGFUNCTION.3 | 1 |
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: |