This is the mail archive of the gdb-patches@sources.redhat.com 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: coding style tweaks


> Here, you can't just initialize best_depth to 0, you have to initialize it 
>> > to either INT_MAX, or inclusion_depth (result).
> 
>> 
>> Since || is a short-circuit, the RHS really doesn't matter.
> 
> Yeah, yer right.

I should point out that I had to look this up in my tartan labs book! :-)

Andrew




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