From a57d22d2d9143a9be934c7315756cef083d45daa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Thu, 15 Aug 2019 10:46:16 +0200 Subject: [PATCH] astyle formatting [ci skip] --- lib/checkuninitvar.h | 3 +-- lib/valueflow.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/checkuninitvar.h b/lib/checkuninitvar.h index 8d11842ee..a8a418663 100644 --- a/lib/checkuninitvar.h +++ b/lib/checkuninitvar.h @@ -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); } diff --git a/lib/valueflow.cpp b/lib/valueflow.cpp index c986eec76..1cb8e69fa 100644 --- a/lib/valueflow.cpp +++ b/lib/valueflow.cpp @@ -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()))