From c45360d4633850839bb9c2d77dbf8a8285e9ad49 Mon Sep 17 00:00:00 2001 From: Marian Klymov Date: Sat, 2 Jun 2018 23:52:56 +0300 Subject: cppcheck: fix warnings - Get rid of variable that was generating false positive warning (unitialized) - Fix issues in tests - Reduce scope of several variables all over etc Closes #2631 --- lib/sendf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/sendf.h') diff --git a/lib/sendf.h b/lib/sendf.h index 7c9134dec..eb7bdd57e 100644 --- a/lib/sendf.h +++ b/lib/sendf.h @@ -84,8 +84,8 @@ CURLcode Curl_write_plain(struct connectdata *conn, ssize_t *written); /* the function used to output verbose information */ -int Curl_debug(struct Curl_easy *handle, curl_infotype type, - char *data, size_t size, +int Curl_debug(struct Curl_easy *data, curl_infotype type, + char *ptr, size_t size, struct connectdata *conn); -- cgit v1.2.1