Skip to content

Commit

Permalink
Fixed danmar#4226 (False positive: Uninitialized variable (problem wi…
Browse files Browse the repository at this point in the history
…th namespace ::rtl))
  • Loading branch information
IOBYTE authored and danmar committed Oct 14, 2012
1 parent d152ec3 commit 2a2366b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/symboldatabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2a2366b

Please sign in to comment.