mirror of
https://github.com/curl/curl.git
synced 2026-08-25 00:33:31 +03:00
CURLOPT_DEBUGFUNCTION.3: unused argument warning (#1056)
The 'userp' argument is unused in this example code.
This commit is contained in:
parent
2a3bca9aa0
commit
c271b1c29a
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue