Another simple trampoline removed.
This commit is contained in:
parent
fe2bc26e71
commit
e831a9d51b
@ -2332,16 +2332,19 @@ void
|
|||||||
checkWellFormed (const System sys)
|
checkWellFormed (const System sys)
|
||||||
{
|
{
|
||||||
int allOkay;
|
int allOkay;
|
||||||
|
Protocol p;
|
||||||
|
|
||||||
allOkay = true;
|
allOkay = true;
|
||||||
|
for (p = sys->protocols; p != NULL; p = p->next)
|
||||||
|
{
|
||||||
|
Role r;
|
||||||
|
|
||||||
int thisRole (Protocol p, Role r)
|
for (r = p->roles; r != NULL; r = r->next)
|
||||||
{
|
{
|
||||||
allOkay = allOkay && WellFormedRole (sys, p, r);
|
allOkay = allOkay && WellFormedRole (sys, p, r);
|
||||||
return true;
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
iterateRoles (sys, thisRole);
|
|
||||||
if (allOkay == false)
|
if (allOkay == false)
|
||||||
{
|
{
|
||||||
error
|
error
|
||||||
|
Loading…
Reference in New Issue
Block a user