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;