From 2e27313cee7428e4a89248aef20108f391889c6e Mon Sep 17 00:00:00 2001 From: Ron Koenderink Date: Fri, 21 Apr 2006 13:19:16 +0000 Subject: [PATCH] (map, sct, rout): Remove unused local variables. --- src/lib/commands/map.c | 1 - src/lib/commands/rout.c | 1 - src/lib/commands/sect.c | 1 - 3 files changed, 3 deletions(-) diff --git a/src/lib/commands/map.c b/src/lib/commands/map.c index 389bef21..d88ff1dc 100644 --- a/src/lib/commands/map.c +++ b/src/lib/commands/map.c @@ -55,7 +55,6 @@ map(void) struct nstr_sect ns; s_char origin = '\0'; int map_flags = 0; - s_char buf[1024]; if (**player->argp != 'm') { if (**player->argp == 'b') diff --git a/src/lib/commands/rout.c b/src/lib/commands/rout.c index f4a6a036..3156056d 100644 --- a/src/lib/commands/rout.c +++ b/src/lib/commands/rout.c @@ -62,7 +62,6 @@ rout(void) i_type i_del; int dir; s_char *p; - s_char buf1[1024]; /* Note this is not re-entrant anyway, so we keep the buffers around */ static s_char *mapbuf = NULL; diff --git a/src/lib/commands/sect.c b/src/lib/commands/sect.c index 79182c80..ba3471f5 100644 --- a/src/lib/commands/sect.c +++ b/src/lib/commands/sect.c @@ -57,7 +57,6 @@ sct(void) s_char *ptr; coord y, yval; int i; - s_char buf[1024]; /* Note this is not re-entrant anyway, so we keep the buffers around */ static s_char *mapbuf = NULL;