mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 20:15:03 -05: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
@ -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…
Reference in New Issue
Block a user