From bf5b4d9ecede7a83957a97516233fe0cfd1a474c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 14 Jul 2014 14:38:40 +0200 Subject: [PATCH] astyle formatting [ci skip] --- lib/checkother.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkother.cpp b/lib/checkother.cpp index 954c94d46..f3d5bbaa8 100644 --- a/lib/checkother.cpp +++ b/lib/checkother.cpp @@ -2550,7 +2550,7 @@ void CheckOther::checkInvalidFree() Token::Match(tok, "delete %any% +|- %any%")) { const int varIndex = tok->strAt(1) == "(" ? 2 : - tok->strAt(3) == "(" ? 4 : 1; + tok->strAt(3) == "(" ? 4 : 1; const unsigned int var1 = tok->tokAt(varIndex)->varId(); const unsigned int var2 = tok->tokAt(varIndex + 2)->varId(); const std::map::iterator alloc1 = allocatedVariables.find(var1);