omdump declaration
..\src\allmain.c(1061): warning C4221: nonstandard extension used: 'ed': cannot be initialized using address of automatic variable 'omdump' ..\src\allmain.c(1056): note: see declaration of 'omdump' Resolves #916
This commit is contained in:
@@ -1053,7 +1053,7 @@ dump_enums(void)
|
|||||||
static const char *const titles[NUM_ENUM_DUMPS] =
|
static const char *const titles[NUM_ENUM_DUMPS] =
|
||||||
{ "monnums", "objects_nums" , "misc_object_nums" };
|
{ "monnums", "objects_nums" , "misc_object_nums" };
|
||||||
|
|
||||||
struct enum_dump omdump[] = {
|
static struct enum_dump omdump[] = {
|
||||||
{ LAST_GEM, "LAST_GEM" },
|
{ LAST_GEM, "LAST_GEM" },
|
||||||
{ NUM_GLASS_GEMS, "NUM_GLASS_GEMS" },
|
{ NUM_GLASS_GEMS, "NUM_GLASS_GEMS" },
|
||||||
{ MAXSPELL, "MAXSPELL" },
|
{ MAXSPELL, "MAXSPELL" },
|
||||||
|
|||||||
Reference in New Issue
Block a user