From f5dc96b4c0a305fb20afd09ff46a0e7851bf80ec Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 16 Nov 2008 12:50:48 +0100 Subject: Fixed warning about unused variable Since I compile with -Werror, even small warnings like this are annoying. Please keep that in mind. ;) --- src/net/partyhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net') diff --git a/src/net/partyhandler.cpp b/src/net/partyhandler.cpp index af5190a3..7a9768fa 100644 --- a/src/net/partyhandler.cpp +++ b/src/net/partyhandler.cpp @@ -86,7 +86,7 @@ void PartyHandler::handleMessage(MessageIn &msg) case CPMSG_PARTY_NEW_MEMBER: { - int id = msg.readInt16(); + msg.readInt16(); // being id std::string name = msg.readString(); chatWindow->chatLog(name + " joined the party"); -- cgit v1.2.3-70-g09d2