checkuninitvar: fixed possible null-pointer dereference. thanks orbitcowboy for spotting it.

This commit is contained in:
Daniel Marjamäki 2010-12-01 18:05:57 +01:00
parent f12c0c7ada
commit b4be71aa4e
1 changed files with 1 additions and 1 deletions

View File

@ -391,7 +391,7 @@ private:
else
break;
}
if (tok3->strAt(1) == "=")
if (tok3 && tok3->strAt(1) == "=")
continue;
}
bool foundError;