| 12681 | } |
| 12682 | |
| 12683 | ResultType Line::ThrowIntIfNonzero(int aErrorValue) |
| 12684 | { |
| 12685 | if (!aErrorValue) |
| 12686 | return OK; |
| 12687 | TCHAR buf[12]; |
| 12688 | return ThrowRuntimeException(ERR_FAILED, _itot(aErrorValue, buf, 10)); |
| 12689 | } |
| 12690 | |
| 12691 | // Logic from the above functions is duplicated in the below functions rather than calling |
| 12692 | // g_script.mCurrLine->Throw() to squeeze out a little extra performance for |
nothing calls this directly
no outgoing calls
no test coverage detected