mirror of
https://github.com/tbamud/tbamud.git
synced 2026-03-30 00:47:19 +02:00
Removed dead stores.
This commit is contained in:
parent
5cca63a01c
commit
bf941bc9b2
28 changed files with 85 additions and 139 deletions
|
|
@ -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.");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue