From 9752a4261f0707d6767eb0647d0b9be4e3d63952 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 21 Mar 2021 15:03:42 +0000 Subject: cid#1474207 silence Unchecked return value from library MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I7c9ec1db7f0255f1063e58c0fbd92fb63d07c833 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112848 Tested-by: Caolán McNamara Reviewed-by: Caolán McNamara --- ucb/source/ucp/ftp/ftploaderthread.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ucb/source') diff --git a/ucb/source/ucp/ftp/ftploaderthread.cxx b/ucb/source/ucp/ftp/ftploaderthread.cxx index 0b2777393873..f5ebfe36cdda 100644 --- a/ucb/source/ucp/ftp/ftploaderthread.cxx +++ b/ucb/source/ucp/ftp/ftploaderthread.cxx @@ -45,7 +45,7 @@ extern "C" { { // Otherwise response for QUIT will be sent to already destroyed // MemoryContainer via non-dummy memory_write function. - curl_easy_setopt(static_cast(pData), + (void)curl_easy_setopt(static_cast(pData), CURLOPT_HEADERFUNCTION, memory_write_dummy); curl_easy_cleanup(static_cast(pData)); -- cgit v1.2.3