diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-18 10:31:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-18 21:16:01 +0200 |
commit | 02b42f2825693454a4154d0e17a1dbcd3b4a66c6 (patch) | |
tree | fda6d16db34cb77c3987dd8a6d81080db89fb976 /sal/osl | |
parent | 99242d6ca22eaad663e1326e5eb402ded3521e24 (diff) |
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 <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sal/osl')
-rw-r--r-- | sal/osl/unx/pipe.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 |