Fix the [-Werror=shadow=local] warning
authorWeimin Pan <weimin.pan@oracle.com>
Mon, 8 Oct 2018 22:14:11 +0000 (22:14 +0000)
committerWeimin Pan <weimin.pan@oracle.com>
Mon, 8 Oct 2018 22:14:11 +0000 (22:14 +0000)
commita51bb70c8a1570f2e6fa74432578bcdf7f2785aa
treef226e87b56b784c23d88c25b8fb722bf0a23d619
parent74792ff782431ec6113b9a8a8e85b95f46094c7f
Fix the [-Werror=shadow=local] warning

Rename local variable in value_struct_elt_for_reference()
to work around the shadowing a previous local warning.
gdb/ChangeLog
gdb/valops.c