From bc401b98501ef10955ba2eb35ee29d2cf5b0e758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 18 Jul 2019 10:09:30 +0100 Subject: [PATCH] cid#703974 Unchecked return value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I833175e7687df88719d4d946cf97181158187c67 Reviewed-on: https://gerrit.libreoffice.org/75840 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- helpcompiler/source/HelpLinker.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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();