ucb/source/ucp/hierarchy/hierarchydata.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 2005faca8c37f665cc5991f821990165df2ead8d
Author:     Bogdan Buzea <buzea.bog...@libreoffice.org>
AuthorDate: Fri Oct 18 22:29:23 2024 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Sun Oct 20 10:28:20 2024 +0200

    tdf#163486: PVS: The variable was assign the same value.
    
    V1048 The 'bDifferentParents' variable was assigned the same value. See 
lines 478 and 539
    
    Change-Id: Ieb29f0a089bedc3e52056f2b24284298b097fbc1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175202
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Tested-by: Jenkins

diff --git a/ucb/source/ucp/hierarchy/hierarchydata.cxx 
b/ucb/source/ucp/hierarchy/hierarchydata.cxx
index b610fe971734..cba3330718e1 100644
--- a/ucb/source/ucp/hierarchy/hierarchydata.cxx
+++ b/ucb/source/ucp/hierarchy/hierarchydata.cxx
@@ -536,8 +536,6 @@ bool HierarchyEntry::move(
         }
         else
         {
-            bDifferentParents = true;
-
             uno::Sequence<uno::Any> 
aArguments2(comphelper::InitAnyPropertySequence(
             {
                 {CFGPROPERTY_NODEPATH, uno::Any(aNewParentPath)}

Reply via email to