- Code cleanup for intruder count.

This commit is contained in:
ccremers 2006-03-10 14:52:45 +00:00
parent af07f0cc3f
commit 74052cf226

View File

@ -162,16 +162,20 @@ prune_bounds (const System sys)
actioncount = countIntruderActions (); actioncount = countIntruderActions ();
// Limit intruder actions in any case // Limit intruder actions in any case
if (!(switches.intruder) && actioncount > 0) if (!switches.intruder)
{
if (actioncount > 0)
{ {
if (switches.output == PROOF) if (switches.output == PROOF)
{ {
indentPrint (); indentPrint ();
eprintf eprintf
("Pruned: no intruder allowed.\n", switches.maxIntruderActions); ("Pruned: no intruder allowed.\n",
switches.maxIntruderActions);
} }
return 1; return 1;
} }
}
// Limit on intruder events count // Limit on intruder events count
if (actioncount > switches.maxIntruderActions) if (actioncount > switches.maxIntruderActions)