]> granicus.if.org Git - curl/commit
lib: reduce variable scopes
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Sat, 11 May 2019 19:42:48 +0000 (21:42 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Mon, 20 May 2019 06:51:11 +0000 (08:51 +0200)
commit10db3ef21eef1c7a1727579952a81ced2f4afc8b
tree57129a847b5913959063a60290201b1f52482fee
parent27af2ec219244bef24e6d11649d41aad3668da45
lib: reduce variable scopes

Fixes Codacy/CppCheck warnings.

Closes https://github.com/curl/curl/pull/3872
23 files changed:
lib/connect.c
lib/cookie.c
lib/doh.c
lib/hostcheck.c
lib/hostip6.c
lib/inet_pton.c
lib/ldap.c
lib/md4.c
lib/md5.c
lib/memdebug.c
lib/security.c
lib/ssh-libssh.c
lib/ssh.c
lib/transfer.c
lib/urlapi.c
lib/vtls/cyassl.c
lib/vtls/gskit.c
lib/vtls/gtls.c
lib/vtls/mbedtls.c
lib/vtls/polarssl_threadlock.c
lib/vtls/schannel.c
lib/vtls/vtls.c
lib/x509asn1.c