curl_sasl.c: Fixed compilation warning when verbose debug output disabled

curl_sasl.c:1317: warning: unused parameter 'conn'
This commit is contained in:
Steve Holme 2015-01-28 22:48:01 +00:00
parent 8cc70db2db
commit 6fdc8651bd
1 changed files with 2 additions and 0 deletions

View 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;