From 0721c9f7f01b105f39e0917d18bb8e346cceeecd Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Mon, 11 Mar 2019 15:32:30 +0100 Subject: [PATCH] Running astyle [ci skip]. --- lib/checkbufferoverrun.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/checkbufferoverrun.cpp b/lib/checkbufferoverrun.cpp index 2186e1e7b..eaa541d0c 100644 --- a/lib/checkbufferoverrun.cpp +++ b/lib/checkbufferoverrun.cpp @@ -228,7 +228,8 @@ void CheckBufferOverrun::arrayIndex() } } -static std::string arrayIndexMessage(const Token *tok, const Variable *var, const ValueFlow::Value *index) { +static std::string arrayIndexMessage(const Token *tok, const Variable *var, const ValueFlow::Value *index) +{ std::string array = tok->astOperand1()->expressionString(); for (const Dimension &dim : var->dimensions()) array += "[" + MathLib::toString(dim.num) + "]";