summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-12-10 15:15:11 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-12-10 20:50:24 +0100
commit9a921327ce3f68596fc77e07050ad8a587b2696e (patch)
treeb4e607f8ff4fc3ca625c8e90635209049181ea8a
parentcf84ead0c4d91ce1473682cfe07914e965b68ab2 (diff)
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@redhat.com>
-rw-r--r--sal/osl/w32/pipe.cxx13
1 files changed, 0 insertions, 13 deletions
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;