[haiku-commits] Re: r36517 - in haiku/trunk: build/jam src/apps/installer

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 28 Apr 2010 17:09:27 +0200

Jérôme Duval <korli@xxxxxxxxxxxxxxxx> wrote:
> > -       if (path.Append("common/var") == B_OK)
> > +       if ((path.Append("common/var") == B_OK)
> > +               || (path.Append("_sources_") == B_OK))
> >                fVarDirectory.SetTo(path.Path());
> This is wrong. Please remove this part.

Besides that, the () around path == B_OK are superfluous, and shouldn't
be there.

Bye,
   Axel.


Other related posts: