summaryrefslogtreecommitdiffstats
path: root/src/Protocol/PacketID.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Protocol/PacketID.cpp')
-rw-r--r--src/Protocol/PacketID.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Protocol/PacketID.cpp b/src/Protocol/PacketID.cpp
index f401f856e..47d274f25 100644
--- a/src/Protocol/PacketID.cpp
+++ b/src/Protocol/PacketID.cpp
@@ -79,11 +79,7 @@ UInt32 cProtocol_1_9_0::GetPacketId(eOutgoingPackets a_Packet)
case sendWindowOpen: return 0x13;
case sendWindowProperty: return 0x15;
}
- ASSERT(!"Retrieving packet ID for unknown packet type");
- #ifndef __clang__
- LOGWARNING("Retrieving packet ID for unknown packet type %d!", a_Packet);
- return 0;
- #endif
+ UNREACHABLE("Unsupported outgoing packet type");
}