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

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 2 Dec 2010 10:38:49 -0500

On Thu, Dec 2, 2010 at 10:04 AM, Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:
> I would have found a simple reuse of the assignment at the beginning of the
> block nicer, since it is more robust and, as I find, more obvious (as it
> actually computes the bytes remaining in the entry).
>

Overlooked that sorry, I assume you're referring to:

                                off_t remaining = (off_t)length
                                        - (dataReader.Offset() - lengthOffset);


?

Regards,

Rene

Other related posts: