summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-12-14 20:04:24 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-12-14 21:21:01 +0100
commit7f4114d22eb590c34fe868ae62a0e68d0f57917a (patch)
tree008e7190090ae933ba35e9e87266e27c44f87340 /svl
parent96507c765d4306c6cf6f627a5de97c9e1bdc2b3f (diff)
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 <sbergman@redhat.com>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/svdde/ddesvr.cxx2
1 files changed, 0 insertions, 2 deletions
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; });