sw/source/core/doc/docbm.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 2b2b1cc59aee0a21783e53df545f8b335cd4a5bb
Author: Bogdan Buzea <[email protected]>
AuthorDate: Fri Oct 18 22:25:24 2024 +0200
Commit: Xisco Fauli <[email protected]>
CommitDate: Sun Oct 20 10:23:07 2024 +0200
tdf#163486: PVS: The variable was assign the same value.
V1048 The 'bDeleteMark' variable was assigned the same value. See lines 983
and 1001.
Change-Id: I004d5fa043404a945498182d0a366c1e05158435
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175201
Reviewed-by: Xisco Fauli <[email protected]>
Tested-by: Jenkins
diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx
index 956af5c3afdd..1055799fca70 100644
--- a/sw/source/core/doc/docbm.cxx
+++ b/sw/source/core/doc/docbm.cxx
@@ -998,7 +998,6 @@ namespace sw::mark
|| pMark->GetMarkPos().GetContentIndex() !=
*oStartContentIdx;
break;
default:
- bDeleteMark = true;
break;
}
}