[Libreoffice-commits] core.git: ucb/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri Sep 3 08:04:33 UTC 2021
ucb/source/ucp/file/filtask.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d260e5ee47d3a689ad72e274874c68e61dfd65e7
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Sep 2 11:59:24 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Sep 3 10:03:59 2021 +0200
cid#1490899 Unchecked return value
presumably we don't care about the ret value here
Change-Id: I0600838fa4c50901b24dcb63d2a304a8894e6701
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121518
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/ucb/source/ucp/file/filtask.cxx b/ucb/source/ucp/file/filtask.cxx
index 990b509b4f37..6c900d33f6a8 100644
--- a/ucb/source/ucp/file/filtask.cxx
+++ b/ucb/source/ucp/file/filtask.cxx
@@ -1997,7 +1997,7 @@ TaskManager::copy_recursive( const OUString& srcUnqPath,
else if( TypeToCopy == FileUrlType::Folder )
{
osl::Directory aDir( srcUnqPath );
- aDir.open();
+ (void)aDir.open();
err = osl::Directory::create( dstUnqPath );
osl::FileBase::RC next = err;
More information about the Libreoffice-commits
mailing list