diff --git a/CheckHeaders.cpp b/CheckHeaders.cpp index b7db79aa0..5c5ed0e3a 100644 --- a/CheckHeaders.cpp +++ b/CheckHeaders.cpp @@ -180,6 +180,8 @@ void WarningIncludeHeader() tok1 = tok1->next; } + if (!tok1) + break; }