First round of Sergeev merges.
[super-star-trek.git] / sst.c
diff --git a/sst.c b/sst.c
index b456772c5a9a058e5e71a61c1d5f7feaf7313c32..b60b57e5621dab63dc1ff7a0fe888ec49f4e2d3c 100644 (file)
--- a/sst.c
+++ b/sst.c
@@ -201,7 +201,6 @@ static void helpme(void) {
 \r
 static void makemoves(void) {\r
        int i, hitme;\r
-       char ch;\r
        while (TRUE) { /* command loop */\r
                hitme = FALSE;\r
                justin = 0;\r
@@ -385,9 +384,6 @@ static void makemoves(void) {
 \r
 int main(int argc, char **argv) {\r
     int i, option, usecurses = TRUE;\r
-       int hitme;\r
-       char ch;\r
-\r
        while ((option = getopt(argc, argv, "t")) != -1) {\r
            switch (option) {\r
            case 't':\r
@@ -430,6 +426,7 @@ int main(int argc, char **argv) {
        skip(1);\r
        ioend();\r
        puts("May the Great Bird of the Galaxy roost upon your home planet.");\r
+       exit(0);\r
 }\r
 \r
 \r