From f5b09b48c239825e1e94cdfbddb6f0d240fc133a Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Sun, 19 Feb 2017 22:32:26 +0100 Subject: cppcheck: unreadVariable Change-Id: I701431f0346727cbb039f18ade55b5a98c97a135 Reviewed-on: https://gerrit.libreoffice.org/34438 Tested-by: Jenkins Reviewed-by: Noel Grandin --- comphelper/source/eventattachermgr/eventattachermgr.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'comphelper') diff --git a/comphelper/source/eventattachermgr/eventattachermgr.cxx b/comphelper/source/eventattachermgr/eventattachermgr.cxx index 46be1454c8ef..19328a73e498 100644 --- a/comphelper/source/eventattachermgr/eventattachermgr.cxx +++ b/comphelper/source/eventattachermgr/eventattachermgr.cxx @@ -397,8 +397,6 @@ void SAL_CALL ImplEventAttacherManager::registerScriptEvent // Examine the index and apply the array std::deque::iterator aIt = implCheckIndex( nIndex ); - std::deque< AttachedObject_Impl > aList = (*aIt).aObjList; - ScriptEventDescriptor aEvt = ScriptEvent; sal_Int32 nLastDot = aEvt.ListenerType.lastIndexOf('.'); if (nLastDot != -1) -- cgit