astyle formatting
[ci skip]
This commit is contained in:
parent
af214e8212
commit
a57d22d2d9
@ -110,8 +110,7 @@ public:
|
|||||||
void uninitstringError(const Token *tok, const std::string &varname, bool strncpy_);
|
void uninitstringError(const Token *tok, const std::string &varname, bool strncpy_);
|
||||||
void uninitdataError(const Token *tok, const std::string &varname);
|
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, ErrorPath errorPath);
|
||||||
void uninitvarError(const Token *tok, const std::string &varname)
|
void uninitvarError(const Token *tok, const std::string &varname) {
|
||||||
{
|
|
||||||
ErrorPath errorPath;
|
ErrorPath errorPath;
|
||||||
uninitvarError(tok, varname, errorPath);
|
uninitvarError(tok, varname, errorPath);
|
||||||
}
|
}
|
||||||
|
@ -4992,7 +4992,7 @@ static void valueFlowUninit(TokenList *tokenlist, SymbolDatabase * /*symbolDatab
|
|||||||
vardecl = vardecl->next();
|
vardecl = vardecl->next();
|
||||||
}
|
}
|
||||||
// if (!stdtype && !pointer)
|
// if (!stdtype && !pointer)
|
||||||
// continue;
|
// continue;
|
||||||
if (!Token::Match(vardecl, "%var% ;"))
|
if (!Token::Match(vardecl, "%var% ;"))
|
||||||
continue;
|
continue;
|
||||||
if (Token::Match(vardecl, "%varid% ; %varid% =", vardecl->varId()))
|
if (Token::Match(vardecl, "%varid% ; %varid% =", vardecl->varId()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user