mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 17:33:05 +00:00
3cd8075771
Reported by GCC 12: ../scummvm/engines/glk/tads/tads2/debug.cpp: In function 'int Glk::TADS::TADS2::dbgnam(dbgcxdef*, char*, int, int)': ../scummvm/engines/glk/tads/tads2/debug.cpp:158:47: warning: the address of 'Glk::TADS::TADS2::tokthdef::tokthhsh' will never be NULL [-Waddress] 158 | if (!ctx->dbgcxtab || !ctx->dbgcxtab->tokthhsh) | ~~~~~~~~~~~~~~~^~~~~~~~ In file included from ../scummvm/engines/glk/tads/tads2/run.h:42, from ../scummvm/engines/glk/tads/tads2/debug.cpp:24: ../scummvm/engines/glk/tads/tads2/tokenizer.h:222:19: note: 'Glk::TADS::TADS2::tokthdef::tokthhsh' declared here 222 | tokthpdef tokthhsh[TOKHASHSIZE]; /* hash table */ | ^~~~~~~~