From ceaa150dead7dc1bb5d356b41bf05d9104c7d724 Mon Sep 17 00:00:00 2001 From: Freeyorp Date: Sun, 11 Apr 2010 13:50:48 +1200 Subject: 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. --- src/map/script.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/map/script.c') 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])); -- cgit v1.2.3-60-g2f50