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: [commit][obv] Use TYPE_LENGTH directly where possible


Joel> But I can definitely see someone like myself missing that subtlety,
Joel> and commit an obvious change that reduces the duplication by re-using
Joel> the variable in the gdb_assert call. To the unattentive me, that's
Joel> an obvious improvement. I think that's an issue.

Yeah, that's easy to picture happening.

It seems to me that a comment would be adequate.

Tom


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