From: Steve Holme Date: Wed, 28 Jan 2015 22:48:01 +0000 (+0000) Subject: curl_sasl.c: Fixed compilation warning when verbose debug output disabled X-Git-Tag: curl-7_41_0~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6fdc8651bdeb200e839b8f6ae6fbca19fb27d579;p=curl curl_sasl.c: Fixed compilation warning when verbose debug output disabled curl_sasl.c:1317: warning: unused parameter 'conn' --- diff --git a/lib/curl_sasl.c b/lib/curl_sasl.c index c7dc51647..c7dbdd02b 100644 --- a/lib/curl_sasl.c +++ b/lib/curl_sasl.c @@ -1341,6 +1341,8 @@ static void state(struct SASL *sasl, if(sasl->state != newstate) infof(conn->data, "SASL %p state change from %s to %s\n", (void *)sasl, names[sasl->state], names[newstate]); +#else + (void) conn; #endif sasl->state = newstate;