Fixed FreeBSD build (#4061)
This commit is contained in:
parent
76a0971279
commit
05e7be7f73
@ -79,8 +79,11 @@ UInt32 cProtocol_1_9_0::GetPacketId(eOutgoingPackets a_Packet)
|
|||||||
case sendWindowOpen: return 0x13;
|
case sendWindowOpen: return 0x13;
|
||||||
case sendWindowProperty: return 0x15;
|
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);
|
LOGWARNING("Retrieving packet ID for unknown packet type %d!", a_Packet);
|
||||||
return 0;
|
return 0;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user