This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] libdw: Detect dwarf_formudata errors in dwarf_getmacros.


On Thu, 2015-06-18 at 11:21 -0700, Roland McGrath wrote:
> Nested if gets hard to read fast.  I usually prefer either && or braces
> around the inner if.  But it's fine as is.

I left it as is because it is a simple test/return NULL in this case.
But agreed in general.

Thanks. Pushed.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]