mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Fix null check
This commit is contained in:
parent
187fe8c4a5
commit
d0f0834463
1 changed files with 3 additions and 1 deletions
|
@ -15283,7 +15283,9 @@ void BfModule::AssertErrorState()
|
||||||
}
|
}
|
||||||
if (mCurMethodInstance != NULL)
|
if (mCurMethodInstance != NULL)
|
||||||
{
|
{
|
||||||
if ((mCurMethodInstance->mMethodDef->mDeclaringType != NULL) && (mCurMethodInstance->mMethodDef->mDeclaringType != NULL) && (mCurMethodInstance->mMethodDef->mDeclaringType->mSource->mParsingFailed))
|
if ((mCurMethodInstance->mMethodDef->mDeclaringType != NULL) &&
|
||||||
|
(mCurMethodInstance->mMethodDef->mDeclaringType->mSource != NULL) &&
|
||||||
|
(mCurMethodInstance->mMethodDef->mDeclaringType->mSource->mParsingFailed))
|
||||||
return;
|
return;
|
||||||
if ((mCurMethodState != NULL) && (mCurMethodState->mMixinState != NULL) &&
|
if ((mCurMethodState != NULL) && (mCurMethodState->mMixinState != NULL) &&
|
||||||
(mCurMethodState->mMixinState->mMixinMethodInstance->mMethodDef->mDeclaringType->mSource != NULL) &&
|
(mCurMethodState->mMixinState->mMixinMethodInstance->mMethodDef->mDeclaringType->mSource != NULL) &&
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue