diff options
author | Marcel Raad <raad@teamviewer.com> | 2017-03-30 10:14:34 +0200 |
---|---|---|
committer | Marcel Raad <raad@teamviewer.com> | 2017-03-30 10:14:34 +0200 |
commit | a8e523f086c12e7bb9acb18d1ac84d92dde0605b (patch) | |
tree | 96adedb1c610880d8643e62c59443df77b0b957a /lib/connect.c | |
parent | 1b4b2c1a59aaaf9dfc28290e9c54c410aa2d858a (diff) | |
download | curl-a8e523f086c12e7bb9acb18d1ac84d92dde0605b.tar.gz |
connect: fix unreferenced parameter warning
When CURL_DISABLE_VERBOSE_STRINGS is defined, the reason parameter in
Curl_conncontrol is not used as the infof macro expands to nothing.
Diffstat (limited to 'lib/connect.c')
-rw-r--r-- | lib/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c index 197eff242..63ec50fdc 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -1385,7 +1385,7 @@ CURLcode Curl_socket(struct connectdata *conn, */ void Curl_conncontrol(struct connectdata *conn, int ctrl /* see defines in header */ -#ifdef DEBUGBUILD +#if defined(DEBUGBUILD) && !defined(CURL_DISABLE_VERBOSE_STRINGS) , const char *reason #endif ) |