]> git.ipfire.org Git - thirdparty/curl.git/commit
build: fix compiler warnings
authorMAntoniak <47522782+MAntoniak@users.noreply.github.com>
Sat, 17 Jul 2021 20:43:52 +0000 (22:43 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 14 Aug 2021 21:19:24 +0000 (23:19 +0200)
commitfd84db600d2ace530ad17616cb21d8b78b02840d
tree8b5b5293b03a5777922d612ae8b77b653679db6b
parent7698a365aed564d8c17d83ca02ddbefde0c2adc8
build: fix compiler warnings

For when CURL_DISABLE_VERBOSE_STRINGS and DEBUGBUILD flags are both
active.

- socks.c : warning C4100: 'lineno': unreferenced formal parameter
  (co-authored by Daniel Stenberg)

- mbedtls.c: warning C4189: 'port': local variable is initialized but
  not referenced

- schannel.c: warning C4189: 'hostname': local variable is initialized
  but not referenced

Cloes #7528
lib/socks.c
lib/vtls/mbedtls.c
lib/vtls/schannel.c