From 6568ee89f4087172839698cdce453978854e4ff7 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 18 Jul 2019 11:06:14 +0100 Subject: cid#1448437 Unchecked return value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I2dec7a66f5609b1e34d9b337f8c562440d3f5132 Reviewed-on: https://gerrit.libreoffice.org/75891 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- ucb/source/ucp/file/filtask.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ucb/source/ucp/file/filtask.cxx b/ucb/source/ucp/file/filtask.cxx index 3c54c50b8ed4..dd19b6edc7c3 100644 --- a/ucb/source/ucp/file/filtask.cxx +++ b/ucb/source/ucp/file/filtask.cxx @@ -1167,8 +1167,8 @@ TaskManager::move( sal_Int32 CommandId, osl::FileStatus aStatus(osl_FileStatus_Mask_Type|osl_FileStatus_Mask_LinkTargetURL); osl::DirectoryItem aItem; - osl::DirectoryItem::get(dstUnqPath,aItem); - aItem.getFileStatus(aStatus); + (void)osl::DirectoryItem::get(dstUnqPath,aItem); + (void)aItem.getFileStatus(aStatus); if( aStatus.isValid(osl_FileStatus_Mask_Type) && aStatus.isValid(osl_FileStatus_Mask_LinkTargetURL) && -- cgit v1.2.3