]> granicus.if.org Git - curl/commit
build: fix Codacy warnings
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Sat, 25 May 2019 08:06:08 +0000 (10:06 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Wed, 5 Jun 2019 18:38:06 +0000 (20:38 +0200)
commite23c52b3295a525fbaae9e7ed3e7061fea6dffc2
tree4a74cf5ed3496a6126f1cc7c4284b6620108db06
parent04ac54e1965041684fc1b6532eba90f58601264e
build: fix Codacy warnings

Reduce variable scopes and remove redundant variable stores.

Closes https://github.com/curl/curl/pull/3975
23 files changed:
CMake/CurlTests.c
docs/examples/ftp-wildcard.c
docs/examples/synctime.c
lib/curl_ntlm_core.c
lib/ftp.c
lib/imap.c
lib/pop3.c
lib/smb.c
lib/smtp.c
lib/ssh-libssh.c
lib/vauth/digest.c
lib/vtls/cyassl.c
lib/vtls/mesalink.c
packages/OS400/ccsidcurl.c
packages/OS400/os400sys.c
src/tool_getpass.c
tests/libtest/lib1541.c
tests/libtest/lib1560.c
tests/libtest/lib1905.c
tests/libtest/lib541.c
tests/libtest/lib569.c
tests/libtest/lib571.c
tests/server/socksd.c