curl_sasl.c: Fixed compilation warning when verbose debug output disabled
curl_sasl.c:1317: warning: unused parameter 'conn'
This commit is contained in:
parent
8cc70db2db
commit
6fdc8651bd
@ -1341,6 +1341,8 @@ static void state(struct SASL *sasl,
|
|||||||
if(sasl->state != newstate)
|
if(sasl->state != newstate)
|
||||||
infof(conn->data, "SASL %p state change from %s to %s\n",
|
infof(conn->data, "SASL %p state change from %s to %s\n",
|
||||||
(void *)sasl, names[sasl->state], names[newstate]);
|
(void *)sasl, names[sasl->state], names[newstate]);
|
||||||
|
#else
|
||||||
|
(void) conn;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
sasl->state = newstate;
|
sasl->state = newstate;
|
||||||
|
Loading…
Reference in New Issue
Block a user