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

New commits:
commit 9752a4261f0707d6767eb0647d0b9be4e3d63952
Author:     Caolán McNamara <[email protected]>
AuthorDate: Sun Mar 21 15:03:42 2021 +0000
Commit:     Caolán McNamara <[email protected]>
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 <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>

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));
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to