Unused Variables 2018

From TRCCompSci - AQA Computer Science
Revision as of 08:16, 16 November 2017 by Admin (talk | contribs) (Created page with "==DisplayTileValues== For some reason AllowedWords is passed into DisplayTileValues without it been used within the method. ==Have Turn== For some reason NoOfEndOfTurnTiles i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

DisplayTileValues

For some reason AllowedWords is passed into DisplayTileValues without it been used within the method.

Have Turn

For some reason NoOfEndOfTurnTiles is passed into HaveTurn but is never used. HaveTurn calls AddEndOfTurnTiles towards the end of the method, this redeclares a local version of NoOfEndOfTurnTiles. This local version is then used within the AddEndOfTurnTiles method.