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

New commits:
commit e6f75af74c7f35feb8a22959a2f876af7f385ca2
Author:     Andrea Gelmini <andrea.gelm...@gelma.net>
AuthorDate: Wed Nov 24 12:13:16 2021 +0100
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Wed Nov 24 21:34:30 2021 +0100

    Remove break; after return
    
    Change-Id: I0690bcf0740842abde7268d99ab791163262945f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125766
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>

diff --git a/ucb/source/ucp/webdav-curl/webdavcontent.cxx 
b/ucb/source/ucp/webdav-curl/webdavcontent.cxx
index f74bf01b5125..8bf19a582693 100644
--- a/ucb/source/ucp/webdav-curl/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-curl/webdavcontent.cxx
@@ -3399,7 +3399,6 @@ void Content::unlock(
                 // acting as WebDAV and having lock/unlock enabled only
                 // for authorized user.
                 return;
-                break;
             case DAVException::DAV_HTTP_ERROR:
                 //grab the error code
                 switch( e.getStatus() )
@@ -3411,7 +3410,6 @@ void Content::unlock(
                         SAL_WARN( "ucb.ucp.webdav", "unlock() DAVException 
(SC_NOT_IMPLEMENTED or SC_METHOD_NOT_ALLOWED) - URL: <"
                                   << m_xIdentifier->getContentIdentifier() << 
">, DAV ExceptionCode: " << e.getError() << ", HTTP error: " << e.getStatus() );
                         return;
-                        break;
                     default:
                         //fallthrough
                         ;

Reply via email to