[Libreoffice-commits] core.git: winaccessibility/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Tue Dec 15 08:37:15 UTC 2020


 winaccessibility/source/service/AccObjectWinManager.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 96ae3093a4d914db2f61701fc9fd097ee748ec15
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Dec 15 08:51:29 2020 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Dec 15 09:36:36 2020 +0100

    Silence warning C4189: local variable is initialized but not referenced
    
    Change-Id: I6157c6e92877738366c142025a3bc8f3e38eb0a0
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107737
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/winaccessibility/source/service/AccObjectWinManager.cxx b/winaccessibility/source/service/AccObjectWinManager.cxx
index b56db56d4bab..2ed47a061f31 100644
--- a/winaccessibility/source/service/AccObjectWinManager.cxx
+++ b/winaccessibility/source/service/AccObjectWinManager.cxx
@@ -532,6 +532,7 @@ void AccObjectWinManager::DeleteAccObj( XAccessible* pXAcc )
     }
     size_t i = XResIdAccList.erase(accObj.GetResID());
     assert(i != 0);
+    (void) i;
     DeleteFromHwndXAcc(pXAcc);
     if( accObj.GetRole() == DOCUMENT ||
         accObj.GetRole() == DOCUMENT_PRESENTATION ||


More information about the Libreoffice-commits mailing list