From 2a2366b258288d9e9bbc756e23ff54ef9fca3d6e Mon Sep 17 00:00:00 2001 From: Robert Reif Date: Sun, 14 Oct 2012 17:25:29 +0200 Subject: [PATCH] Fixed #4226 (False positive: Uninitialized variable (problem with namespace ::rtl)) --- lib/symboldatabase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/symboldatabase.cpp b/lib/symboldatabase.cpp index d9f53d701..2a73c23ed 100644 --- a/lib/symboldatabase.cpp +++ b/lib/symboldatabase.cpp @@ -837,7 +837,7 @@ bool SymbolDatabase::isFunction(const Token *tok, const Scope* outerScope, const tok->strAt(-1) == "::" || tok->strAt(-1) == "~" || // or a scope qualifier in front of tok outerScope->isClassOrStruct()) && // or a ctor/dtor (Token::Match(tok->next()->link(), ") const| ;|{|=") || - Token::Match(tok->next()->link(), ") : %var% (|::"))) { + Token::Match(tok->next()->link(), ") : ::| %var% (|::"))) { *funcStart = tok; *argStart = tok->next(); return true;