Remove some dead symbols revealed by coverage analysis.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 15 Nov 2018 19:00:37 +0000 (14:00 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 15 Nov 2018 19:00:37 +0000 (14:00 -0500)
advent.h
main.c

index 321e0363417c332f079e4a00da1ad0cb930eaa98..5e9871d4ed7a65c10497a251429bdb3b5e98c218 100644 (file)
--- a/advent.h
+++ b/advent.h
@@ -108,8 +108,6 @@ enum phase_codes {
     GO_TOP,
     GO_CLEAROBJ,
     GO_CHECKHINT,
-    GO_CHECKFOO,
-    GO_LOOKUP,
     GO_WORD2,
     GO_UNKNOWN,
     GO_DWARFWAKE,
diff --git a/main.c b/main.c
index c68a7ed4d2d9295264cf673ffdcabe24b781dc2a..70f1b9e971314e27d9c7c6b851f1c89e3fddf59b 100644 (file)
--- a/main.c
+++ b/main.c
@@ -1197,10 +1197,6 @@ Lookup:
             goto Lclearobj;
         case GO_CHECKHINT:
             goto L2600;
-        case GO_CHECKFOO:
-            goto Lclosecheck;
-        case GO_LOOKUP:
-            goto Lookup;
         case GO_WORD2:
 #ifdef GDEBUG
             printf("Word shift\n");