Fixed SIGABRT in new checking
This commit is contained in:
parent
5fed938f56
commit
1f022e281f
|
@ -1336,7 +1336,7 @@ private:
|
|||
/** @brief Found array usage.. */
|
||||
static void array_index(const Token *tok, std::list<ExecutionPath *> &checks, unsigned int varid1, unsigned int varid2)
|
||||
{
|
||||
if (varid1 == 0 || varid2 == 0)
|
||||
if (checks.empty() || varid1 == 0 || varid2 == 0)
|
||||
return;
|
||||
|
||||
// Locate array info corresponding to varid1
|
||||
|
|
Loading…
Reference in New Issue