checkuninitvar: fixed possible null-pointer dereference. thanks orbitcowboy for spotting it.
This commit is contained in:
parent
f12c0c7ada
commit
b4be71aa4e
@ -391,7 +391,7 @@ private:
|
|||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (tok3->strAt(1) == "=")
|
if (tok3 && tok3->strAt(1) == "=")
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
bool foundError;
|
bool foundError;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user