diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-05 15:55:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-05 15:55:55 +0300 |
commit | d1bb1b375d657f0821ccfebf18fa1c3873314690 (patch) | |
tree | eb83bbf7242b2c367c4df19113f37f6c6ab9faa2 /src/net/ea | |
parent | 9f87b4c92e3a4d524250dbbb376cd0f59b7d995e (diff) | |
download | manaverse-d1bb1b375d657f0821ccfebf18fa1c3873314690.tar.gz manaverse-d1bb1b375d657f0821ccfebf18fa1c3873314690.tar.bz2 manaverse-d1bb1b375d657f0821ccfebf18fa1c3873314690.tar.xz manaverse-d1bb1b375d657f0821ccfebf18fa1c3873314690.zip |
Fix useless variables initialisations.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/partyhandler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp index 70207ec2a..6d76e3165 100644 --- a/src/net/ea/partyhandler.cpp +++ b/src/net/ea/partyhandler.cpp @@ -124,7 +124,6 @@ void PartyHandler::processPartyInfo(Net::MessageIn &msg) if (Ea::taParty) { - PartyMember *member = nullptr; if (oldParty) { //member = Ea::taParty->getMember(id); @@ -135,7 +134,7 @@ void PartyHandler::processPartyInfo(Net::MessageIn &msg) nick.c_str()), BY_SERVER); } } - member = Ea::taParty->addMember(id, nick); + PartyMember *member = Ea::taParty->addMember(id, nick); if (member) { |