mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40890
@ -77,10 +77,7 @@ print <<EOF
|
|||||||
|
|
||||||
void ficlCompileSoftCore(FICL_VM *pVM)
|
void ficlCompileSoftCore(FICL_VM *pVM)
|
||||||
{
|
{
|
||||||
int ret = ficlExec(pVM, softWords);
|
assert(ficlExec(pVM, softWords) != VM_ERREXIT);
|
||||||
if (ret == VM_ERREXIT)
|
|
||||||
assert(FALSE);
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user