warningnames, globals, modules, conditional compilation
W1005
Unreachable code
Warnings fail a build only with --deny-warnings. Change this one's level in wowlua.json: "check": { "lints": { "W1005": "allow" } } (or "deny").
Where the specification covers it
- Appendix C. Decision Log · Toolchain
- 13. Compiler Architecture · 13.6.2 Lints
Nearby codes
| code | summary |
|---|---|
| W1002 | Implicit global assignment (basic mode) |
| W1003 | Unused local, parameter or import |
| W1004 | Local shadows another local |
| W1033 | Load order cannot be determined (dynamic names, several writers, external names); files keep their source order |
| W1034 | Name read at load time but only defined at run time |
| W1035 | Usage-analysis dependency contradicts build.load-order; the listed order is kept (contradicting imports are E1035) |