summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-20 11:44:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-20 11:44:52 +0200
commit306d46a8d0a465125c4934bd94b77dd8f4afed27 (patch)
tree18c40a6cb86c2f9d837697822b50bfe4cbedf6b7 /sal
parentc17668a6dfeca6d1a34d86a11ae54b08f584d5b9 (diff)
fix android build
after commit 05f67637fc4f71750dda46fccf0bed5b3fd99233 "new cannot return nullptr" Change-Id: I53902e0b4cf93435be498db673111619d11b00fa
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/file.cxx1
1 files changed, 0 insertions, 1 deletions
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);