[Libreoffice-commits] core.git: ucb/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sun Mar 21 19:49:20 UTC 2021


 ucb/source/ucp/ftp/ftploaderthread.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9752a4261f0707d6767eb0647d0b9be4e3d63952
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Mar 21 15:03:42 2021 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Mar 21 20:48:38 2021 +0100

    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 at redhat.com>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

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));


More information about the Libreoffice-commits mailing list