summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-09-28 08:24:56 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-09-28 11:39:34 +0200
commit7dc918b905dfeffec05868243f0eaee4ccff7a8d (patch)
treee0b9a036cd888d136d9d366138cceb7c57962aaa /sal
parent9dd0af943df70d7797196ee8f9717596f28b1849 (diff)
cid#1546363 Unused value
Change-Id: I416db8a528b4db3f4d4449ec371c0935b29568ff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157350 Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/file_misc.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sal/osl/unx/file_misc.cxx b/sal/osl/unx/file_misc.cxx
index ce2701f8cf1a..752c85393b86 100644
--- a/sal/osl/unx/file_misc.cxx
+++ b/sal/osl/unx/file_misc.cxx
@@ -318,10 +318,7 @@ oslFileError SAL_CALL osl_getNextDirectoryItem(oslDirectory pDirectory,
DirectoryItem_Impl* pImpl = static_cast< DirectoryItem_Impl* >(*pItem);
if (pImpl)
- {
pImpl->release();
- pImpl = nullptr;
- }
#ifdef _DIRENT_HAVE_D_TYPE
pImpl = new DirectoryItem_Impl(strFilePath, pEntry->d_type);
#else