mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Improve the assertion testing for successful softword compilation.
The excessive use of assert() vs. robust error checking is annoying.
This commit is contained in:
parent
1add1a81da
commit
2cd5cac4ec
1 changed files with 1 additions and 4 deletions
|
|
@ -77,10 +77,7 @@ print <<EOF
|
|||
|
||||
void ficlCompileSoftCore(FICL_VM *pVM)
|
||||
{
|
||||
int ret = ficlExec(pVM, softWords);
|
||||
if (ret == VM_ERREXIT)
|
||||
assert(FALSE);
|
||||
return;
|
||||
assert(ficlExec(pVM, softWords) != VM_ERREXIT);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue