diff options
author | Freeyorp <Freeyorp101@hotmail.com> | 2010-04-11 13:50:48 +1200 |
---|---|---|
committer | Freeyorp <Freeyorp101@hotmail.com> | 2010-04-11 13:50:48 +1200 |
commit | ceaa150dead7dc1bb5d356b41bf05d9104c7d724 (patch) | |
tree | 6514251f97828def9df23b111c7e29be8dfcfdc8 /src/map | |
parent | 1983582d259875b95b1ec55ac342d102c936c026 (diff) | |
download | tmwa-ceaa150dead7dc1bb5d356b41bf05d9104c7d724.tar.gz tmwa-ceaa150dead7dc1bb5d356b41bf05d9104c7d724.tar.bz2 tmwa-ceaa150dead7dc1bb5d356b41bf05d9104c7d724.tar.xz tmwa-ceaa150dead7dc1bb5d356b41bf05d9104c7d724.zip |
Remove script_rid2sd assignment on an otherwise unused variable
This is unused and gave false alarms about rid not being attached when it didn't need one.
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/script.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/map/script.c b/src/map/script.c index 84cf944..846c16d 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -6891,12 +6891,9 @@ int buildin_npcwarp (struct script_state *st) int buildin_message (struct script_state *st) { - struct map_session_data *sd; char *msg, *player; struct map_session_data *pl_sd = NULL; - sd = script_rid2sd (st); - player = conv_str (st, &(st->stack->stack_data[st->start + 2])); msg = conv_str (st, &(st->stack->stack_data[st->start + 3])); |