mirror of
https://github.com/curl/curl.git
synced 2026-04-21 14:32:12 +03:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue