summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sal/osl/w32/pipe.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sal/osl/w32/pipe.cxx b/sal/osl/w32/pipe.cxx
index 218719322e27..8dfdec0831e8 100644
--- a/sal/osl/w32/pipe.cxx
+++ b/sal/osl/w32/pipe.cxx
@@ -153,8 +153,6 @@ oslPipe SAL_CALL osl_createPipe(rtl_uString *strPipeName, oslPipeOptions Options
pPipe = osl_createPipeImpl();
assert(pPipe); // if osl_createPipeImpl() cannot init. a new pipe, this is a failure
- if (!pPipe)
- return nullptr;
osl_atomic_increment(&(pPipe->m_Reference));