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

View File

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