astyle formatting

[ci skip]
This commit is contained in:
Daniel Marjamäki 2019-08-15 10:46:16 +02:00
parent af214e8212
commit a57d22d2d9
2 changed files with 2 additions and 3 deletions

View File

@ -110,8 +110,7 @@ public:
void uninitstringError(const Token *tok, const std::string &varname, bool strncpy_);
void uninitdataError(const Token *tok, const std::string &varname);
void uninitvarError(const Token *tok, const std::string &varname, ErrorPath errorPath);
void uninitvarError(const Token *tok, const std::string &varname)
{
void uninitvarError(const Token *tok, const std::string &varname) {
ErrorPath errorPath;
uninitvarError(tok, varname, errorPath);
}

View File

@ -4992,7 +4992,7 @@ static void valueFlowUninit(TokenList *tokenlist, SymbolDatabase * /*symbolDatab
vardecl = vardecl->next();
}
// if (!stdtype && !pointer)
// continue;
// continue;
if (!Token::Match(vardecl, "%var% ;"))
continue;
if (Token::Match(vardecl, "%varid% ; %varid% =", vardecl->varId()))