Add __attribute__((unused))

This commit is contained in:
Mathieu Carbou
2024-09-06 13:11:00 +02:00
parent 5173a00d3a
commit d37e050006

View File

@@ -209,7 +209,7 @@ void AsyncEventSourceClient::_queueMessage(const char* message, size_t len) {
}
}
void AsyncEventSourceClient::_onAck(size_t len, uint32_t time) {
void AsyncEventSourceClient::_onAck(size_t len __attribute__((unused)), uint32_t time __attribute__((unused))) {
#ifdef ESP32
// Same here, acquiring the lock early
std::lock_guard<std::mutex> lock(_lockmq);