mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 17:31:46 -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;
|
const char *text;
|
||||||
(void)handle; /* prevent compiler warning */
|
(void)handle; /* prevent compiler warning */
|
||||||
|
(void)userp;
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case CURLINFO_TEXT:
|
case CURLINFO_TEXT:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user