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

Tor Lillqvist tml at collabora.com
Mon Dec 12 17:41:29 UTC 2016


 ucb/source/ucp/webdav/webdavcontent.cxx        |    1 +
 ucb/source/ucp/webdav/webdavresponseparser.cxx |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit dfafaeb989c16792d722d2a256a621f58f8e81fc
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Dec 12 16:57:15 2016 +0200

    -Werror,-Wimplicit-fallthrough
    
    Change-Id: I7ea9c1af7568ce37f29df14f8dc4345031c20eb8

diff --git a/ucb/source/ucp/webdav/webdavcontent.cxx b/ucb/source/ucp/webdav/webdavcontent.cxx
index ca71b3b..741363a 100644
--- a/ucb/source/ucp/webdav/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav/webdavcontent.cxx
@@ -2822,6 +2822,7 @@ void Content::transfer(
                         Environment );
                     // Unreachable
                 }
+                SAL_FALLTHROUGH;
 
                 case ucb::NameClash::OVERWRITE:
                     break;
diff --git a/ucb/source/ucp/webdav/webdavresponseparser.cxx b/ucb/source/ucp/webdav/webdavresponseparser.cxx
index f666d86..66b73f1 100644
--- a/ucb/source/ucp/webdav/webdavresponseparser.cxx
+++ b/ucb/source/ucp/webdav/webdavresponseparser.cxx
@@ -716,6 +716,7 @@ namespace
                                 maLock.Scope = maLockScope;
                                 maResult_Lock.push_back(maLock);
                             }
+                            SAL_FALLTHROUGH; // I hope intentional?
                             case WebDAVName_propstat:
                             {
                                 // propstat end, check status


More information about the Libreoffice-commits mailing list