Fix MSVC warning C4101

unreferenced local variable

In this case: exceptions caught but never used.
No need to give them a variable name.
This commit is contained in:
2025-11-06 11:10:11 +01:00
committed by mdavidsaver
parent 52cf5307ca
commit 4e8b3326a5
3 changed files with 29 additions and 29 deletions

View File

@@ -1156,7 +1156,7 @@ void BlockingTCPTransportCodec::sendThread()
try {
this->processWrite();
continue;
} catch (connection_closed_exception &cce) {
} catch (connection_closed_exception &) {
// noop
} catch (std::exception &e) {
PRINT_EXCEPTION(e);