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: