From e23c52b3295a525fbaae9e7ed3e7061fea6dffc2 Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Sat, 25 May 2019 10:06:08 +0200 Subject: build: fix Codacy warnings Reduce variable scopes and remove redundant variable stores. Closes https://github.com/curl/curl/pull/3975 --- tests/libtest/lib541.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/libtest/lib541.c') diff --git a/tests/libtest/lib541.c b/tests/libtest/lib541.c index 94a26a4b7..2861bfcc1 100644 --- a/tests/libtest/lib541.c +++ b/tests/libtest/lib541.c @@ -97,7 +97,7 @@ int test(char *URL) test_setopt(curl, CURLOPT_READDATA, hd_src); /* Now run off and do what you've been told! */ - res = curl_easy_perform(curl); + curl_easy_perform(curl); /* and now upload the exact same again, but without rewinding so it already is at end of file */ -- cgit v1.2.3