diff options
author | Marcel Raad <Marcel.Raad@teamviewer.com> | 2019-05-25 10:06:08 +0200 |
---|---|---|
committer | Marcel Raad <Marcel.Raad@teamviewer.com> | 2019-06-05 20:38:06 +0200 |
commit | e23c52b3295a525fbaae9e7ed3e7061fea6dffc2 (patch) | |
tree | 4a74cf5ed3496a6126f1cc7c4284b6620108db06 /tests/libtest/lib541.c | |
parent | 04ac54e1965041684fc1b6532eba90f58601264e (diff) |
build: fix Codacy warnings
Reduce variable scopes and remove redundant variable stores.
Closes https://github.com/curl/curl/pull/3975
Diffstat (limited to 'tests/libtest/lib541.c')
-rw-r--r-- | tests/libtest/lib541.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |