aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2015-01-28 22:48:01 +0000
committerSteve Holme <steve_holme@hotmail.com>2015-01-28 22:48:01 +0000
commit6fdc8651bdeb200e839b8f6ae6fbca19fb27d579 (patch)
tree5af3db860a4c85339fe407bef8b1cc9168f5e74e /lib
parent8cc70db2db5f58e519a1bdfed266ca6514013145 (diff)
curl_sasl.c: Fixed compilation warning when verbose debug output disabled
curl_sasl.c:1317: warning: unused parameter 'conn'
Diffstat (limited to 'lib')
-rw-r--r--lib/curl_sasl.c2
1 files changed, 2 insertions, 0 deletions
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;