diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-11-16 12:50:48 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-11-16 12:50:48 +0100 |
commit | f5dc96b4c0a305fb20afd09ff46a0e7851bf80ec (patch) | |
tree | 59074b0466976dd568b743e74a0ada201628e0e3 | |
parent | c7f4b9193dcf673dbd2306e3a638b1060987cdd6 (diff) | |
download | mana-f5dc96b4c0a305fb20afd09ff46a0e7851bf80ec.tar.gz mana-f5dc96b4c0a305fb20afd09ff46a0e7851bf80ec.tar.bz2 mana-f5dc96b4c0a305fb20afd09ff46a0e7851bf80ec.tar.xz mana-f5dc96b4c0a305fb20afd09ff46a0e7851bf80ec.zip |
Fixed warning about unused variable
Since I compile with -Werror, even small warnings like this are
annoying. Please keep that in mind. ;)
-rw-r--r-- | src/net/partyhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |