Commit c271b1c2 authored by Rainer Müller's avatar Rainer Müller Committed by Daniel Stenberg
Browse files

CURLOPT_DEBUGFUNCTION.3: unused argument warning (#1056)

The 'userp' argument is unused in this example code.
parent 2a3bca9a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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: