svl/source/svdde/ddesvr.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 7f4114d22eb590c34fe868ae62a0e68d0f57917a
Author: Stephan Bergmann <[email protected]>
AuthorDate: Mon Dec 14 20:04:24 2020 +0100
Commit: Stephan Bergmann <[email protected]>
CommitDate: Mon Dec 14 21:21:01 2020 +0100
warning C4189: 'pInst': local variable is initialized but not referenced
Change-Id: I8180087a9e9c3a6d6368d6d94d77ca18d303c1bc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107724
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <[email protected]>
diff --git a/svl/source/svdde/ddesvr.cxx b/svl/source/svdde/ddesvr.cxx
index 4893fdb53e61..cff09ed68650 100644
--- a/svl/source/svdde/ddesvr.cxx
+++ b/svl/source/svdde/ddesvr.cxx
@@ -347,8 +347,6 @@ DdeService* DdeInternal::FindService( HSZ hService )
DdeTopic* DdeInternal::FindTopic( DdeService& rService, HSZ hTopic )
{
std::vector<DdeTopic*> &rTopics = rService.aTopics;
- DdeInstData* pInst = ImpGetInstData();
- assert(pInst);
auto iter = std::find_if(rTopics.begin(), rTopics.end(),
[&hTopic](const DdeTopic* pTopic) { return *pTopic->pName == hTopic;
});
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits