summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-07-10 04:33:34 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-07-10 04:33:34 +1000
commit48d354f2615e828d7acb62d5496e467d3ade1c9d (patch)
treeb111e70bf9e0eabdc6f0ec59e96f2c4a3add4de5 /sal
parentadd32b9930d4311df1fa03c36c13dd1267a46e44 (diff)
osl: followup - m_NamedObject never INVALID_HANDLE_VALUE
Change-Id: Ia4517b01a39c02619ccae73e4c182ac8d7e6e22c
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/w32/pipe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/w32/pipe.cxx b/sal/osl/w32/pipe.cxx
index b399f5f75f95..c18e4435bf1e 100644
--- a/sal/osl/w32/pipe.cxx
+++ b/sal/osl/w32/pipe.cxx
@@ -80,7 +80,7 @@ void osl_destroyPipeImpl(oslPipe pPipe)
{
if (pPipe)
{
- if (pPipe->m_NamedObject != INVALID_HANDLE_VALUE && pPipe->m_NamedObject)
+ if (pPipe->m_NamedObject)
CloseHandle(pPipe->m_NamedObject);
if (pPipe->m_Security)