From f793dca372804f176eb26ce88043f31346125eb6 Mon Sep 17 00:00:00 2001 From: gumi Date: Sat, 17 Feb 2018 13:16:37 -0500 Subject: remove unused variables --- src/map/atcommand.cpp | 2 +- src/map/clif.cpp | 1 - src/map/script-fun.cpp | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src/map') diff --git a/src/map/atcommand.cpp b/src/map/atcommand.cpp index 9e1b431..294e70b 100644 --- a/src/map/atcommand.cpp +++ b/src/map/atcommand.cpp @@ -3709,7 +3709,7 @@ ATCE atcommand_partyspy(Session *s, dumb_ptr sd, } static -ATCE atcommand_setpartyleader(Session *s, dumb_ptr sd, +ATCE atcommand_setpartyleader(Session *s, dumb_ptr, ZString message) { CharName character; diff --git a/src/map/clif.cpp b/src/map/clif.cpp index 8e697f2..9f837db 100644 --- a/src/map/clif.cpp +++ b/src/map/clif.cpp @@ -5042,7 +5042,6 @@ RecvResult clif_parse_PartyMessage(Session *s, dumb_ptr sd) void clif_sendallquest(dumb_ptr sd) { int i; - QuestId questid; if (!sd) return; diff --git a/src/map/script-fun.cpp b/src/map/script-fun.cpp index 92c2f0d..02aefbb 100644 --- a/src/map/script-fun.cpp +++ b/src/map/script-fun.cpp @@ -3572,7 +3572,6 @@ void builtin_getitemlink(ScriptState *st) data = &AARG(0); ZString name = conv_str(st, data); - ItemNameId item_id; Option> item_data_ = itemdb_searchname(name); OMATCH_BEGIN (item_data_) { -- cgit v1.2.3-60-g2f50