From 957afd1430062292ade17037d4705bd60652791d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 18 Jul 2019 10:10:40 +0100 Subject: cid#704106 Unchecked return value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ic0a9d173c24af8962539b00207b8dd24cbbcdbc0 Reviewed-on: https://gerrit.libreoffice.org/75841 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- xmlhelp/source/cxxhelp/provider/urlparameter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmlhelp') diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx index e65d414bd97e..d77c70552bb9 100644 --- a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx +++ b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx @@ -565,7 +565,7 @@ helpMatch(const char * URI) { static void * fileOpen(const char *URI) { osl::File *pRet = new osl::File(OUString(URI, strlen(URI), RTL_TEXTENCODING_UTF8)); - pRet->open(osl_File_OpenFlag_Read); + (void)pRet->open(osl_File_OpenFlag_Read); return pRet; } -- cgit