[Libreoffice-commits] core.git: sal/osl

Noel Grandin noel.grandin at collabora.co.uk
Tue Jun 20 09:45:55 UTC 2017


 sal/osl/unx/file.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 306d46a8d0a465125c4934bd94b77dd8f4afed27
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Tue Jun 20 11:44:52 2017 +0200

    fix android build
    
    after commit 05f67637fc4f71750dda46fccf0bed5b3fd99233
    "new cannot return nullptr"
    
    Change-Id: I53902e0b4cf93435be498db673111619d11b00fa

diff --git a/sal/osl/unx/file.cxx b/sal/osl/unx/file.cxx
index 333d2459b351..c8dcd3543e22 100644
--- a/sal/osl/unx/file.cxx
+++ b/sal/osl/unx/file.cxx
@@ -805,7 +805,6 @@ namespace {
 static oslFileError
 openMemoryAsFile( void *address, size_t size, oslFileHandle *pHandle, const char *path )
 {
-    oslFileError eRet;
     FileHandle_Impl * pImpl = new FileHandle_Impl (-1, FileHandle_Impl::KIND_MEM, path);
     pImpl->m_size = sal::static_int_cast< sal_uInt64 >(size);
 


More information about the Libreoffice-commits mailing list