diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-03 13:53:11 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-03 13:53:11 +0200 |
commit | 2a72c5c8384d23cad054058ba0066ef5b163694e (patch) | |
tree | 035c11a464a7e1a6c3ce3d5caf01ccdbd9e62aa7 /source/packets/cPacket.h | |
parent | Removed the DeNotcher project, as it's no longer needed and won't even compile (diff) | |
download | cuberite-2a72c5c8384d23cad054058ba0066ef5b163694e.tar cuberite-2a72c5c8384d23cad054058ba0066ef5b163694e.tar.gz cuberite-2a72c5c8384d23cad054058ba0066ef5b163694e.tar.bz2 cuberite-2a72c5c8384d23cad054058ba0066ef5b163694e.tar.lz cuberite-2a72c5c8384d23cad054058ba0066ef5b163694e.tar.xz cuberite-2a72c5c8384d23cad054058ba0066ef5b163694e.tar.zst cuberite-2a72c5c8384d23cad054058ba0066ef5b163694e.zip |
Diffstat (limited to 'source/packets/cPacket.h')
-rw-r--r-- | source/packets/cPacket.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/packets/cPacket.h b/source/packets/cPacket.h index f5a014ed5..1c0b24868 100644 --- a/source/packets/cPacket.h +++ b/source/packets/cPacket.h @@ -41,6 +41,8 @@ public: /// Called to parse the packet. Packet type has already been read and the correct packet type created. Return the number of characters processed, PACKET_INCOMPLETE for incomplete data, PACKET_ERROR for error virtual int Parse(const char * a_Data, int a_Size) { + UNUSED(a_Data); + UNUSED(a_Size); LOGERROR("Undefined Parse function for packet type 0x%x\n", m_PacketID ); ASSERT(!"Undefined Parse function"); return -1; @@ -49,6 +51,7 @@ public: /// Called to serialize the packet into a string. Append all packet data to a_Data, including the packet type! virtual void Serialize(AString & a_Data) const { + UNUSED(a_Data); LOGERROR("Undefined Serialize function for packet type 0x%x\n", m_PacketID ); ASSERT(!"Undefined Serialize function"); } |