diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-18 10:09:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-18 16:20:00 +0200 |
commit | bc401b98501ef10955ba2eb35ee29d2cf5b0e758 (patch) | |
tree | 05761871d0ea286e76b55ad3c487a89577e97897 | |
parent | 36d27bb2aec2c2375342d1652501b8874e750a2f (diff) |
cid#703974 Unchecked return value
Change-Id: I833175e7687df88719d4d946cf97181158187c67
Reviewed-on: https://gerrit.libreoffice.org/75840
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | helpcompiler/source/HelpLinker.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpcompiler/source/HelpLinker.cxx b/helpcompiler/source/HelpLinker.cxx index fc5894b080ad..b5a488f3dbc0 100644 --- a/helpcompiler/source/HelpLinker.cxx +++ b/helpcompiler/source/HelpLinker.cxx @@ -910,7 +910,7 @@ bool compileExtensionHelp sal_uInt64 ret, len = aFileStatus.getFileSize(); std::unique_ptr<char[]> s(new char[ int(len) ]); // the buffer to hold the installed files osl::File aFile( aTreeFileURL ); - aFile.open( osl_File_OpenFlag_Read ); + (void)aFile.open( osl_File_OpenFlag_Read ); aFile.read( s.get(), len, ret ); aFile.close(); |