sal/osl/unx/pipe.cxx | 2 +- sfx2/source/safemode/safemode.cxx | 2 +- tools/source/stream/strmunx.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit fbaf0ccbf43ec3ed320c56a2bff4d7e8e59fb132 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Jul 18 10:20:06 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Jul 18 21:16:52 2019 +0200 cid#1448224 Unchecked return value Change-Id: Ie13b8b8f865e44f3746fdf79bf0b1b2cec2aba1d Reviewed-on: https://gerrit.libreoffice.org/75845 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/tools/source/stream/strmunx.cxx b/tools/source/stream/strmunx.cxx index 4ba6da6dfe1b..152ed9b10274 100644 --- a/tools/source/stream/strmunx.cxx +++ b/tools/source/stream/strmunx.cxx @@ -63,7 +63,7 @@ InternalStreamLock::InternalStreamLock( m_nEndPos( nEnd ), m_pStream( pStream ) { - osl::DirectoryItem::get( m_pStream->GetFileName(), m_aItem ); + (void)osl::DirectoryItem::get( m_pStream->GetFileName(), m_aItem ); #if OSL_DEBUG_LEVEL > 1 OString aFileName(OUStringToOString(m_pStream->GetFileName(), osl_getThreadTextEncoding())); commit 034da04b16292a8a967340499832af23ec479bdc Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Jul 18 10:32:19 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Jul 18 21:16:19 2019 +0200 cid#1448294 Unchecked return value Change-Id: Iee0153a00df72cf9353d2e40ff02f81f96522afe Reviewed-on: https://gerrit.libreoffice.org/75873 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sfx2/source/safemode/safemode.cxx b/sfx2/source/safemode/safemode.cxx index 6d8dcf981a4d..0b7b64446bf9 100644 --- a/sfx2/source/safemode/safemode.cxx +++ b/sfx2/source/safemode/safemode.cxx @@ -75,7 +75,7 @@ OUString SafeMode::getFilePath(const OUString& sFilename) OUString aProfilePath; FileBase::getSystemPathFromFileURL(url, aProfilePath); - FileBase::getAbsoluteFileURL(url, sFilename, aProfilePath); + (void)FileBase::getAbsoluteFileURL(url, sFilename, aProfilePath); return aProfilePath; } commit 02b42f2825693454a4154d0e17a1dbcd3b4a66c6 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Jul 18 10:31:34 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Jul 18 21:16:01 2019 +0200 cid#1448288 Unchecked return value from library Change-Id: Id1b8044126e65e67b2496cf7a4eb86b54ba6c1df Reviewed-on: https://gerrit.libreoffice.org/75872 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sal/osl/unx/pipe.cxx b/sal/osl/unx/pipe.cxx index f9037a14e4a7..e9888e577ec5 100644 --- a/sal/osl/unx/pipe.cxx +++ b/sal/osl/unx/pipe.cxx @@ -246,7 +246,7 @@ static oslPipe osl_psz_createPipe(const sal_Char *pszPipeName, oslPipeOptions Op depends on umask */ if (!Security) - chmod(name.getStr(),S_IRWXU | S_IRWXG |S_IRWXO); + (void)chmod(name.getStr(),S_IRWXU | S_IRWXG |S_IRWXO); strcpy(pPipe->m_Name, name.getStr()); // safe, see check above _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits