Enable all warnings, turn the noisy ones back off, fix the others.

This commit is contained in:
Chris Marsh
2017-10-12 15:38:15 -07:00
parent 39ff0bf3e4
commit 6fa00223ad
6 changed files with 31 additions and 11 deletions

View File

@@ -129,6 +129,7 @@ bool RpcConnection::Read(JsonDocument& message)
break;
case Opcode::Pong:
break;
case Opcode::Handshake:
default:
// something bad happened
lastErrorCode = (int)ErrorCode::ReadCorrupt;