Raphael wrote:
On Monday 10 October 2005 21:27, Eric Pouech wrote:

BOOL symt_add_udt_element(struct module* module, struct symt_udt*

        assert(m->symt.tag == SymTagData);

        if (m->hash_elt.name[0] == name[0] && strcmp(m->hash_elt.name,
name) == 0) -            return TRUE;
+           return FALSE;
    }

    if ((m = pool_alloc(&module->pool, sizeof(*m))) == NULL) return
FALSE;

I don't see the reason of changin the returnd value from TRUE to FALSE


usefull because with that i have found a bug ;)
(trying to redefine some elements too many times)

No problem as all the dbghelp code don't test return code :p

Regards,
Raphael
but it's of no use with the patch you sent, so why clobber the patch with this ?
A+

--
Eric Pouech



Reply via email to