(check_methods_accessible): Fix bug in -Wno-protocol.
(check_methods_accessible): Fix bug in -Wno-protocol. Reset chain to bottom class for each search. From-SVN: r5927
This commit is contained in:
parent
e1eb754f60
commit
415f766a65
|
@ -5363,9 +5363,11 @@ check_methods_accessible (chain, context, mtype)
|
||||||
{
|
{
|
||||||
int first = 1;
|
int first = 1;
|
||||||
tree list;
|
tree list;
|
||||||
|
tree base_context = context;
|
||||||
|
|
||||||
while (chain)
|
while (chain)
|
||||||
{
|
{
|
||||||
|
context = base_context;
|
||||||
while (context)
|
while (context)
|
||||||
{
|
{
|
||||||
if (mtype == '+')
|
if (mtype == '+')
|
||||||
|
|
Loading…
Reference in New Issue