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 7/8] Shadowing fix in gdbscm_frame_read_var


>>>>> "Simon" == Simon Marchi <simon.marchi@ericsson.com> writes:

Simon> On 2018-09-23 12:08 AM, Tom Tromey wrote:
>> -Wshadow=local pointed out that the shadowing in gdbscm_frame_read_var
>> means that the ultimate call to read_var_value will always be passed
>> block==NULL.  The fix is to remove the outer declaration.

Simon> s/outer/inner/ ?

Yes, thanks.  I've updated the commit message.

Tom


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