summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-03-21 15:03:42 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-03-21 20:48:38 +0100
commit9752a4261f0707d6767eb0647d0b9be4e3d63952 (patch)
tree246790a8c898d0748ffd92354b86f913d1bbae31 /ucb/source
parentf9317e41621bb446b864ab2be2996f70e07bb61d (diff)
cid#1474207 silence Unchecked return value from library
Change-Id: I7c9ec1db7f0255f1063e58c0fbd92fb63d07c833 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112848 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/ucp/ftp/ftploaderthread.cxx2
1 files changed, 1 insertions, 1 deletions
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<CURL*>(pData),
+ (void)curl_easy_setopt(static_cast<CURL*>(pData),
CURLOPT_HEADERFUNCTION,
memory_write_dummy);
curl_easy_cleanup(static_cast<CURL*>(pData));