From: Eric S. Raymond Date: Thu, 15 Nov 2018 19:00:37 +0000 (-0500) Subject: Remove some dead symbols revealed by coverage analysis. X-Git-Tag: 1.7~20 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=17e60781221ebf0c0368b90aa03642bede67c6ea;p=open-adventure.git Remove some dead symbols revealed by coverage analysis. --- diff --git a/advent.h b/advent.h index 321e036..5e9871d 100644 --- 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 c68a7ed..70f1b9e 100644 --- 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");