This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [RFA 16/42] Use gdb_assert in two places in buildsym.c


>>>>> "Simon" == Simon Marchi <simark@simark.ca> writes:

Simon> Just a nit, but I think inverting the condition would be more readable
Simon>   gdb_assert (current_subfile != NULL && current_subfile->name != NULL);
Simon> LGTM either way.

I did this.

Tom


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