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: [PATCH 22/40] get_int_var_value


On 06/02/2017 05:22 AM, Pedro Alves wrote:
> I noticed that get_int_var_value's parameters could use some
> constification.  And then realized that client code would become
> simpler by changing the interface to return the success/failure
> indication as actual return value, as allows getting rid of the the
> local "boolean" variable.

It is certainly more appropriate for Joel to comment, but I did look through the patch, and it is a pretty straightforward change. I didn't notice any issues.

Keith


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