Removed dead stores.

This commit is contained in:
wyld-sw
2018-07-15 10:29:57 -04:00
parent 5cca63a01c
commit bf941bc9b2
28 changed files with 85 additions and 139 deletions

View File

@@ -198,7 +198,6 @@ void run_autowiz(void)
if (CONFIG_USE_AUTOWIZ) {
size_t res;
char buf[256];
int i;
#if defined(CIRCLE_UNIX)
res = snprintf(buf, sizeof(buf), "nice ../bin/autowiz %d %s %d %s %d &",
@@ -212,7 +211,7 @@ void run_autowiz(void)
if (res < sizeof(buf)) {
mudlog(CMP, LVL_IMMORT, FALSE, "Initiating autowiz.");
reboot_wizlists();
i = system(buf);
system(buf);
} else
log("Cannot run autowiz: command-line doesn't fit in buffer.");
}