[Code Cleanup] Resharper Warnings (#2235)

* Remove unused local variable

* Remove another unused variable

* Correct typos and remove unused initialization

* Cleanup some code in OPCharCreate

* Remove unused function in client.cpp and undefined declaration.
Also the function potentially had a null pointer dereference according to Visual Studio.
This commit is contained in:
Quintinon
2022-06-01 14:16:49 -07:00
committed by GitHub
parent d1404a2d95
commit de830e5535
4 changed files with 10 additions and 28 deletions
-2
View File
@@ -39,7 +39,6 @@ public:
~Client();
bool Process();
void ReceiveData(uchar* buf, int len);
void SendCharInfo();
void SendMaxCharCreate();
void SendMembership();
@@ -54,7 +53,6 @@ public:
void SendLogServer();
void SendApproveWorld();
void SendPostEnterWorld();
bool GenPassKey(char* key);
inline uint32 GetIP() { return ip; }
inline uint16 GetPort() { return port; }