summaryrefslogtreecommitdiff
path: root/src/map/atcommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/atcommand.cpp')
-rw-r--r--src/map/atcommand.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/map/atcommand.cpp b/src/map/atcommand.cpp
index 294e70b..7167b63 100644
--- a/src/map/atcommand.cpp
+++ b/src/map/atcommand.cpp
@@ -4815,8 +4815,6 @@ ATCE atcommand_get_var(Session *s, dumb_ptr<map_session_data> sd,
CharName character;
XString vname;
XString vindex;
- char prefix;
- char postfix;
if (!asplit(message, &vname, &vindex, &character))
{
@@ -4826,8 +4824,6 @@ ATCE atcommand_get_var(Session *s, dumb_ptr<map_session_data> sd,
}
dumb_ptr<map_session_data> pl_sd = map_nick2sd(character);
- prefix = vname.front();
- postfix = vname.back();
SIR reg = SIR::from(variable_names.intern(vname), atoi((RString(vindex)).c_str()));
struct script_data dat = ScriptDataVariable{reg};