[Libreoffice-commits] core.git: 2 commits - editeng/source opencl/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Tue Nov 26 18:49:04 UTC 2019


 editeng/source/accessibility/AccessibleParaManager.cxx |    1 -
 opencl/source/openclwrapper.cxx                        |    1 -
 2 files changed, 2 deletions(-)

New commits:
commit 928c854f7dff9d8e015ed682a36429f32f1f87e7
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Nov 26 19:46:06 2019 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Nov 26 19:46:06 2019 +0100

    Remove unused OpenCLEnv::mpOclCmdQueue
    
    unused since 4eea4af8924e3b1bb00c22cf1f9d21fc4dec6e83 "tdf#103204 opencl:
    initialize command queue on demand"
    
    (found by upcoming loplugin:unusedmember)
    
    Change-Id: Ic8ab914699d5a99338abdfc315001603a8255e1b

diff --git a/opencl/source/openclwrapper.cxx b/opencl/source/openclwrapper.cxx
index 179e6bda4da6..8e2e531e5970 100644
--- a/opencl/source/openclwrapper.cxx
+++ b/opencl/source/openclwrapper.cxx
@@ -297,7 +297,6 @@ struct OpenCLEnv
     cl_platform_id mpOclPlatformID;
     cl_context mpOclContext;
     cl_device_id mpOclDevsID;
-    cl_command_queue mpOclCmdQueue[OPENCL_CMDQUEUE_SIZE];
 };
 
 bool initOpenCLAttr( OpenCLEnv * env )
commit d2c2d250fdbcda77bafec75c4c1df44868b031f5
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Nov 26 19:44:35 2019 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Nov 26 19:44:35 2019 +0100

    Remove unused StateChangeEvent::return_type
    
    (found by upcoming loplugin:unusedmember)
    
    Change-Id: I0259881207d2014df460ed83afe3da0a13068147

diff --git a/editeng/source/accessibility/AccessibleParaManager.cxx b/editeng/source/accessibility/AccessibleParaManager.cxx
index 5d6be4dd60b5..f0d97b490b1e 100644
--- a/editeng/source/accessibility/AccessibleParaManager.cxx
+++ b/editeng/source/accessibility/AccessibleParaManager.cxx
@@ -296,7 +296,6 @@ namespace accessibility
     class StateChangeEvent
     {
     public:
-        typedef void return_type;
         StateChangeEvent( const sal_Int16 nEventId,
                           const uno::Any& rNewValue,
                           const uno::Any& rOldValue ) :


More information about the Libreoffice-commits mailing list