[dbghelp] continue dwarf support

Raphael fenix at club-internet.fr
Tue Oct 11 01:46:13 CDT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20051011/f94c8f77/attachment.pgp


More information about the wine-devel mailing list