From d1bb1b375d657f0821ccfebf18fa1c3873314690 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 5 Sep 2012 15:55:55 +0300 Subject: Fix useless variables initialisations. --- src/net/ea/partyhandler.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/net/ea') 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) { -- cgit v1.2.3-70-g09d2