mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-12 22:27:44 +02:00
enable extra warnings
This commit is contained in:
parent
0b21a5daee
commit
7fda592d13
12 changed files with 16 additions and 16 deletions
|
@ -43,14 +43,14 @@ Controller::Controller(const std::string& hostId, size_t instance, std::shared_p
|
|||
}
|
||||
|
||||
|
||||
void Controller::onException(ClientConnection* connection, shared_exception_ptr exception)
|
||||
void Controller::onException(ClientConnection* /*connection*/, shared_exception_ptr exception)
|
||||
{
|
||||
LOG(ERROR) << "Controller::onException: " << exception->what() << "\n";
|
||||
async_exception_ = exception;
|
||||
}
|
||||
|
||||
|
||||
void Controller::onMessageReceived(ClientConnection* connection, const msg::BaseMessage& baseMessage, char* buffer)
|
||||
void Controller::onMessageReceived(ClientConnection* /*connection*/, const msg::BaseMessage& baseMessage, char* buffer)
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(receiveMutex_);
|
||||
if (baseMessage.type == message_type::kWireChunk)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue