From 7f9d3260c86441da2ab004323958430fb55fd411 Mon Sep 17 00:00:00 2001 From: onefang Date: Thu, 2 Sep 2021 12:26:17 +1000 Subject: Should have been part of last commit. lol --- src/sledjchisl/sledjchisl.c | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src/sledjchisl') diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 334f6b9..1709357 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c @@ -8676,26 +8676,6 @@ Build the OpenSim. ourSims->la = info.loads[0]/65536.0; I("There are %i CPUs, %i of them are online. Doing %i sims at once. LoadAverage = %f", cpus, cpusOnline, bulkSims, ourSims->la); - if (0 == toys.optc) - ; - else if (strcmp(toys.optargs[0], "backup") == 0) - currentMode = BACKUP; - else if (strcmp(toys.optargs[0], "gitar") == 0) - currentMode = GITAR; - else if (strcmp(toys.optargs[0], "restart") == 0) - currentMode = RESTART; - else if (strcmp(toys.optargs[0], "start") == 0) - currentMode = START; - else if (strcmp(toys.optargs[0], "status") == 0) - currentMode = STATUS; - else if (strcmp(toys.optargs[0], "build") == 0) - currentMode = BUILD; - else if (strcmp(toys.optargs[0], "test") == 0) - currentMode = TEST; - else if (strcmp(toys.optargs[0], "update") == 0) - currentMode = UPDATE; - else if (strcmp(toys.optargs[0], "stop") == 0) - currentMode = STOP; if (2 == toys.optc) ourSims->target = xstrdup(toys.optargs[1]); else if (3 == toys.optc) -- cgit v1.1