1
0
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:
Rainer Müller 2016-10-06 08:06:13 +02:00 committed by Daniel Stenberg
parent 2a3bca9aa0
commit c271b1c29a

View File

@ -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: