ucb/source/ucp/webdav-curl/CurlSession.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 91ce3455cfe1c850dd9780c41e6253cb940af1e9
Author:     Michael Stahl <michael.st...@allotropia.de>
AuthorDate: Fri Nov 26 11:14:10 2021 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Fri Nov 26 13:43:01 2021 +0100

    cid#1494447 ucb: webdav-curl: Logically dead code
    
    Change-Id: I98a99ddc287fd83ff95e9a1b3851a9888dd6ef5c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125864
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/ucb/source/ucp/webdav-curl/CurlSession.cxx 
b/ucb/source/ucp/webdav-curl/CurlSession.cxx
index fc478efec7fd..5ea645f4d4ee 100644
--- a/ucb/source/ucp/webdav-curl/CurlSession.cxx
+++ b/ucb/source/ucp/webdav-curl/CurlSession.cxx
@@ -989,9 +989,6 @@ auto CurlProcessor::ProcessRequestImpl(
     {
         switch (statusCode)
         {
-            case SC_NONE:
-                assert(false); // ??? should be error returned from perform?
-                break;
             case SC_REQUEST_TIMEOUT:
             {
                 throw DAVException(

Reply via email to