summaryrefslogtreecommitdiff
path: root/src/tool_cb_dbg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool_cb_dbg.c')
-rw-r--r--src/tool_cb_dbg.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tool_cb_dbg.c b/src/tool_cb_dbg.c
index 0e79c8d25..0b36236ab 100644
--- a/src/tool_cb_dbg.c
+++ b/src/tool_cb_dbg.c
@@ -79,8 +79,6 @@ int tool_debug_cb(CURL *handle, curl_infotype type,
char *data, size_t size,
void *userdata)
{
- struct OperationConfig *operation = userdata;
- struct GlobalConfig *global = operation->global;
FILE *output = tool_stderr;
const char *text;
struct timeval tv;
@@ -94,6 +92,7 @@ int tool_debug_cb(CURL *handle, curl_infotype type,
curl_off_t xfer_id, conn_id;
(void)handle; /* not used */
+ (void)userdata;
if(global->tracetime) {
tv = tvrealnow();
@@ -134,7 +133,7 @@ int tool_debug_cb(CURL *handle, curl_infotype type,
output = global->trace_stream;
if(!output) {
- warnf(global, "Failed to create/open output");
+ warnf("Failed to create/open output");
return 0;
}