diff options
author | gumi <git@gumi.ca> | 2018-02-17 13:16:37 -0500 |
---|---|---|
committer | gumi <git@gumi.ca> | 2018-02-17 13:16:37 -0500 |
commit | f793dca372804f176eb26ce88043f31346125eb6 (patch) | |
tree | 39d66b0b7a0e223d3a83dcf4ba007dd5c68ffc68 /src | |
parent | 2c8596e5fe8c9d6a578bd303563f4c145f8b48dd (diff) | |
download | tmwa-f793dca372804f176eb26ce88043f31346125eb6.tar.gz tmwa-f793dca372804f176eb26ce88043f31346125eb6.tar.bz2 tmwa-f793dca372804f176eb26ce88043f31346125eb6.tar.xz tmwa-f793dca372804f176eb26ce88043f31346125eb6.zip |
remove unused variables
Diffstat (limited to 'src')
-rw-r--r-- | src/char/int_party.cpp | 2 | ||||
-rw-r--r-- | src/map/atcommand.cpp | 2 | ||||
-rw-r--r-- | src/map/clif.cpp | 1 | ||||
-rw-r--r-- | src/map/script-fun.cpp | 1 |
4 files changed, 2 insertions, 4 deletions
diff --git a/src/char/int_party.cpp b/src/char/int_party.cpp index 9fdd9bb..7b2ecc2 100644 --- a/src/char/int_party.cpp +++ b/src/char/int_party.cpp @@ -417,7 +417,7 @@ void mapif_party_optionchanged(Session *s, PartyPair p, AccountId account_id, } static -void mapif_party_leaderchanged(Session *s, PartyPair p, AccountId account_id, +void mapif_party_leaderchanged(Session *, PartyPair p, AccountId account_id, int leader) { Packet_Fixed<0x3828> fixed_28; 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<map_session_data> sd, } static -ATCE atcommand_setpartyleader(Session *s, dumb_ptr<map_session_data> sd, +ATCE atcommand_setpartyleader(Session *s, dumb_ptr<map_session_data>, 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<map_session_data> sd) void clif_sendallquest(dumb_ptr<map_session_data> 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<P<struct item_data>> item_data_ = itemdb_searchname(name); OMATCH_BEGIN (item_data_) { |