From 02b42f2825693454a4154d0e17a1dbcd3b4a66c6 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 18 Jul 2019 10:31:34 +0100 Subject: cid#1448288 Unchecked return value from library MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id1b8044126e65e67b2496cf7a4eb86b54ba6c1df Reviewed-on: https://gerrit.libreoffice.org/75872 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sal/osl/unx/pipe.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sal/osl/unx') 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 -- cgit