summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-08-16 11:49:59 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-08-16 11:49:59 +0200
commit2f2772267657b704dbc108f95ca3b9f49fb93be1 (patch)
treeda169749248b20a8dc4f0de04a67c5c9546583a3 /sal
parent0b021f89f60208877427eaf004e25db8be3832f6 (diff)
Dead code
...introduced with aeb3853a21435f00f225d751e56184e875bc46ed "osl: (Win32) check allocated pipe succeeded, otherwise needs to fail" Change-Id: Ieeb0b1755e74f583d1b52447eb84f7512eb07914
Diffstat (limited to 'sal')
-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));