mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
TWP: Fix unreachable code detected in squirrel. PVS-Studio V779
This commit is contained in:
parent
1ebbad8146
commit
eb6bc156b9
@ -265,8 +265,6 @@ bool SQVM::ObjCmp(const SQObjectPtr &o1,const SQObjectPtr &o2,SQInteger &result)
|
||||
else { Raise_CompareError(o1,o2); return false; }
|
||||
|
||||
}
|
||||
assert(0);
|
||||
_RET_SUCCEED(0); //cannot happen
|
||||
}
|
||||
|
||||
bool SQVM::CMP_OP(CmpOP op, const SQObjectPtr &o1,const SQObjectPtr &o2,SQObjectPtr &res)
|
||||
|
Loading…
Reference in New Issue
Block a user