forked from github/server
This patches the failure of the test, but it is slow as heck.
This commit is contained in:
parent
52e323fef8
commit
5ab1b2881a
1 changed files with 3 additions and 2 deletions
|
@ -1100,10 +1100,11 @@ attrib_type at_showitem = {
|
||||||
"showitem"
|
"showitem"
|
||||||
};
|
};
|
||||||
|
|
||||||
static local_names *inames;
|
/* static local_names *inames; */
|
||||||
|
|
||||||
const item_type *finditemtype(const char *name, const struct locale *lang)
|
const item_type *finditemtype(const char *name, const struct locale *lang)
|
||||||
{
|
{
|
||||||
|
local_names *inames = 0;
|
||||||
const void * matches[CB_BATCHSIZE];
|
const void * matches[CB_BATCHSIZE];
|
||||||
local_names *in = inames;
|
local_names *in = inames;
|
||||||
variant token;
|
variant token;
|
||||||
|
@ -1208,7 +1209,7 @@ void test_clear_resources(void)
|
||||||
r_hp = r_silver = r_aura = r_permaura = r_unit = 0;
|
r_hp = r_silver = r_aura = r_permaura = r_unit = 0;
|
||||||
i_silver = 0;
|
i_silver = 0;
|
||||||
|
|
||||||
inames = 0; /* TODO: this is a terrible hack, the whole inames global state must die */
|
/* inames = 0; TODO: this is a terrible hack, the whole inames global state must die */
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue