From 148ac8a57a192b7565d0e3c99a09597dd82adbdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 8 Jun 2007 16:57:20 +0000 Subject: [PATCH] CheckHeaders: Bug fix --- CheckHeaders.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; }