From cba06a2ed51fb9d3e6c00a8754f6af710cf6c8f1 Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 18 Jul 2020 10:43:19 +0200 Subject: [PATCH] PVS: V571 Recurring check. A condition was already verified in previous line --- src/App/PropertyLinks.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/App/PropertyLinks.cpp b/src/App/PropertyLinks.cpp index 609252390d..8cfd137085 100644 --- a/src/App/PropertyLinks.cpp +++ b/src/App/PropertyLinks.cpp @@ -3543,7 +3543,6 @@ void PropertyXLink::getLinks(std::vector &objs, { if((all||_pcScope!=LinkScope::Hidden) && _pcLink && _pcLink->getNameInDocument()) { objs.push_back(_pcLink); - if(subs) if(subs && _SubList.size()==_ShadowSubList.size()) *subs = getSubValues(newStyle); }