diff --git a/src/WebSocket.h b/src/WebSocket.h index f209481..f90c195 100644 --- a/src/WebSocket.h +++ b/src/WebSocket.h @@ -245,6 +245,8 @@ public: /* There is no timeout when failing to uncork for WebSockets, * as that is handled by idleTimeout */ auto [written, failed] = Super::uncork(); + (void)written; + (void)failed; } else { /* We are already corked, or can't cork so let's just call the handler */ handler();