From: Eric S. Raymond Date: Fri, 9 Jun 2017 15:23:04 +0000 (-0400) Subject: Eliminate an unused global. X-Git-Tag: 1.1~476 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=b1fafc4d4db33580b1966dfe46d9b54e61c9c0d7;p=open-adventure.git Eliminate an unused global. --- diff --git a/advent.h b/advent.h index 41e8a87..5cda6ea 100644 --- a/advent.h +++ b/advent.h @@ -181,7 +181,7 @@ extern long AMBER, ATTACK, AXE, BACK, BATTER, BEAR, EMRALD, ENTER, ENTRNC, FIND, FISSUR, FOOD, GRATE, HINT, INVENT, JADE, KEYS, KNIFE, LAMP, LOCK, LOOK, MAGZIN, MESSAG, MIRROR, NUGGET, NUL, OGRE, OIL, OYSTER, PANIC, PEARL, PILLOW, PLANT, PLANT2, PYRAM, - RESER, ROD, ROD2, RUBY, RUG, SAPPH, SAY, SECT, SIGN, SNAKE, + RESER, ROD, ROD2, RUBY, RUG, SAPPH, SAY, SIGN, SNAKE, STEPS, STICK, STREAM, THROW, TRIDNT, TROLL, TROLL2, URN, VASE, VEND, VOLCAN, WATER; /* everything else */ diff --git a/main.c b/main.c index c780cd7..4934c95 100644 --- a/main.c +++ b/main.c @@ -21,14 +21,15 @@ long AMBER, AXE, BACK, BATTER, BEAR, BIRD, BLOOD, BOTTLE, CAGE, CAVE, CAVITY, CHAIN, CHASM, CHEST, CLAM, COINS, DOOR, DPRSSN, DRAGON, DWARF, EGGS, EMRALD, ENTER, ENTRNC, FIND, FISSUR, FOOD, - GRATE, HINT, I, INVENT, JADE, K, KEYS, + GRATE, HINT, INVENT, JADE, KEYS, KNIFE, LAMP, LOCK, LOOK, MAGZIN, MESSAG, MIRROR, NUGGET, NUL, OGRE, OIL, OYSTER, PEARL, PILLOW, PLANT, PLANT2, PYRAM, RESER, ROD, ROD2, - RUBY, RUG, SAPPH, SAY, SECT, SIGN, SNAKE, SPK, + RUBY, RUG, SAPPH, SAY, SIGN, SNAKE, STEPS, STREAM, THROW, TRIDNT, TROLL, TROLL2, - URN, VASE, VEND, - VOLCAN, WATER, WD1, WD1X, WD2, WD2X; + URN, VASE, VEND, VOLCAN, WATER; +long I, K, SPK, WD1, WD1X, WD2, WD2X; + FILE *logfp; bool oldstyle = false; lcg_state lcgstate;