From 2f2772267657b704dbc108f95ca3b9f49fb93be1 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 16 Aug 2017 11:49:59 +0200 Subject: Dead code ...introduced with aeb3853a21435f00f225d751e56184e875bc46ed "osl: (Win32) check allocated pipe succeeded, otherwise needs to fail" Change-Id: Ieeb0b1755e74f583d1b52447eb84f7512eb07914 --- sal/osl/w32/pipe.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'sal') 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)); -- cgit