From 96b74c57ff25a4f2d74e2499b3399cd493b625a6 Mon Sep 17 00:00:00 2001 From: Paul Date: Tue, 11 Aug 2020 11:26:40 -0500 Subject: [PATCH] Remove useless condition --- lib/token.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/token.cpp b/lib/token.cpp index 000cfd15d..6a3f7f9b8 100644 --- a/lib/token.cpp +++ b/lib/token.cpp @@ -1053,8 +1053,6 @@ void Token::insertToken(const std::string &tokenStr, const std::string &original scope = tok1->strAt(-3) + " :: " + scope; tok1 = tok1->tokAt(-2); } - - if (!nextScopeNameAddition.empty() && !scope.empty()) nextScopeNameAddition += " :: "; nextScopeNameAddition += scope; } }