]> granicus.if.org Git - curl/commitdiff
curl_sasl.c: Fixed compilation warning when verbose debug output disabled
authorSteve Holme <steve_holme@hotmail.com>
Wed, 28 Jan 2015 22:48:01 +0000 (22:48 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Wed, 28 Jan 2015 22:48:01 +0000 (22:48 +0000)
curl_sasl.c:1317: warning: unused parameter 'conn'

lib/curl_sasl.c

index c7dc51647c327091bd3dbf59acfb7bc0329626d4..c7dbdd02b235d4a0a75c8504de931349048d8d99 100644 (file)
@@ -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;