mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-01 20:42:17 +00:00
Remove some unnecessary this == null checks
This commit is contained in:
1 parent
a307747c29
commit
945ca1278c
2 files changed
+1
-5
No files matched your search
@@ -262,9 +262,6 @@ public:
|
||||
}
|
||||
|
||||
ServerPacket* Copy() {
|
||||
if (this == 0) {
|
||||
return 0;
|
||||
}
|
||||
ServerPacket* ret = new ServerPacket(this->opcode, this->size);
|
||||
if (this->size)
|
||||
memcpy(ret->pBuffer, this->pBuffer, this->size);
|
||||
|
||||
Reference in new issue
Block a user