diff --git a/lib/checkuninitvar.cpp b/lib/checkuninitvar.cpp index ba3f99f08..e61b0075d 100644 --- a/lib/checkuninitvar.cpp +++ b/lib/checkuninitvar.cpp @@ -391,7 +391,7 @@ private: else break; } - if (tok3->strAt(1) == "=") + if (tok3 && tok3->strAt(1) == "=") continue; } bool foundError;