[haiku-commits] Re: r33924 - haiku/trunk/src/apps/debugger/dwarf

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 07 Nov 2009 09:28:11 +0100

On 2009-11-06 at 19:58:15 [+0100], Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> 
wrote:
> ingo_weinhold@xxxxxx wrote:
> > +    if (augmentation == NULL || *augmentation != '\0') {
> > +        if (strcmp(augmentation, "eh") == 0) {
> 
> Shouldn't that be:
>     if (augmentation != NULL && augmentation[0] != '\0') {
>         ...
> 
> ?

Yeah, I obviously didn't manage to transform the previous check properly.

CU, Ingo

Other related posts: