[Libreoffice-commits] core.git: sal/osl

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Tue Dec 10 19:51:22 UTC 2019


 sal/osl/w32/pipe.cxx |   13 -------------
 1 file changed, 13 deletions(-)

New commits:
commit 9a921327ce3f68596fc77e07050ad8a587b2696e
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Dec 10 15:15:11 2019 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Dec 10 20:50:24 2019 +0100

    loplugin:unusedmember (clang-cl)
    
    (i.e., all members of the typedef'ed struct oslPipeBuffer are unused because the
    typedef'ed struct itself is unused ever since at least
    9399c662f36c385b0c705eb34e636a9aec450282 "initial import")
    
    Change-Id: If14ea3b0a1c0bc02b6949fead17513cda8107601
    Reviewed-on: https://gerrit.libreoffice.org/84859
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/sal/osl/w32/pipe.cxx b/sal/osl/w32/pipe.cxx
index 7eef4a99d021..e5f33ff7c191 100644
--- a/sal/osl/w32/pipe.cxx
+++ b/sal/osl/w32/pipe.cxx
@@ -36,19 +36,6 @@
 #define PIPESYSTEM      "\\\\.\\pipe\\"
 #define PIPEPREFIX      "OSL_PIPE_"
 
-namespace {
-
-typedef struct
-{
-    sal_uInt32           m_Size;
-    sal_uInt32           m_ReadPos;
-    sal_uInt32           m_WritePos;
-    BYTE                 m_Data[1];
-
-} oslPipeBuffer;
-
-}
-
 struct oslPipeImpl
 {
     oslInterlockedCount  m_Reference;


More information about the Libreoffice-commits mailing list