diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-09-11 20:43:18 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-09-18 17:41:06 +0200 |
commit | bf253caab57d114d26df351dd7fe1129af0c816d (patch) | |
tree | 0e77b259df1d76e17216b240759f31c8718d5408 /src/Protocol | |
parent | Cleanup Protocol classes (diff) | |
download | cuberite-bf253caab57d114d26df351dd7fe1129af0c816d.tar cuberite-bf253caab57d114d26df351dd7fe1129af0c816d.tar.gz cuberite-bf253caab57d114d26df351dd7fe1129af0c816d.tar.bz2 cuberite-bf253caab57d114d26df351dd7fe1129af0c816d.tar.lz cuberite-bf253caab57d114d26df351dd7fe1129af0c816d.tar.xz cuberite-bf253caab57d114d26df351dd7fe1129af0c816d.tar.zst cuberite-bf253caab57d114d26df351dd7fe1129af0c816d.zip |
Diffstat (limited to 'src/Protocol')
-rw-r--r-- | src/Protocol/Protocol_1_8.cpp | 2 | ||||
-rw-r--r-- | src/Protocol/Protocol_1_8.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/Protocol/Protocol_1_8.cpp b/src/Protocol/Protocol_1_8.cpp index e5ba82111..1185c264a 100644 --- a/src/Protocol/Protocol_1_8.cpp +++ b/src/Protocol/Protocol_1_8.cpp @@ -103,7 +103,7 @@ extern bool g_ShouldLogCommIn, g_ShouldLogCommOut; cProtocol_1_8_0::cProtocol_1_8_0(cClientHandle * a_Client, const AString & a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State) : Super(a_Client), m_ServerAddress(a_ServerAddress), - m_ServerPort(a_ServerPort), + // Note: a_ServerPort is unused m_State(a_State), m_IsEncrypted(false) { diff --git a/src/Protocol/Protocol_1_8.h b/src/Protocol/Protocol_1_8.h index 8ff0eec43..92eb4b88a 100644 --- a/src/Protocol/Protocol_1_8.h +++ b/src/Protocol/Protocol_1_8.h @@ -250,8 +250,6 @@ private: AString m_ServerAddress; - UInt16 m_ServerPort; - AString m_AuthServerID; bool m_IsEncrypted; |