From 7feaecc98a7301a0b05751010519b5c59407fe30 Mon Sep 17 00:00:00 2001 From: Bogdan Buzea Date: Fri, 18 Oct 2024 21:23:56 +0200 Subject: tdf#163486: PVS: The variable was asign the same value. V1048 The 'eEnableChildren' variable was assigned the same value. See lines 2537 and 2542. Change-Id: If1e7630ea3fc3bec8401977a011f29380c70da0c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175156 Reviewed-by: David Gilbert Tested-by: Jenkins --- basctl/source/basicide/baside2b.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'basctl') diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index ca5858865cba..b3d44695740c 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -2539,7 +2539,6 @@ void WatchWindow::UpdateWatches(bool bBasicStopped) if( pNewArray != pOldArray ) { pItem->clearWatchItem(); - eEnableChildren = TRISTATE_TRUE; pItem->mpArray = pNewArray; sal_Int32 nDims = pNewArray->GetDims(); -- cgit