the-infocom-files / zork2

Zork II: The Wizard of Frobozz
8 stars 4 forks source link

Warning fixes #11

Open eriktorbjorn opened 5 years ago

eriktorbjorn commented 5 years ago

This fixes most - not all - of the warnings produced by ZILF 0.9. I think this is a good idea, because otherwise warnings and errors tend to get lost in the noise.

The remaining warnings are:

[warning ZIL0210] ../zork-substrate/parser.zil:1040: local variable 'BITS' is never used
[warning ZIL0210] ../zork-substrate/verbs.zil:526: local variable 'LST' is never used
[warning ZIL0210] ../zork-substrate/verbs.zil:526: local variable 'MAX' is never used
[warning ZIL0210] ../zork-substrate/verbs.zil:526: local variable 'CNT' is never used
[warning ZIL0210] ../zork-substrate/verbs.zil:996: local variable 'LOCN' is never used

I haven't included the warnings fixed by https://github.com/the-infocom-files/zork-substrate/pull/6