summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-12-12 16:57:15 +0200
committerAndras Timar <andras.timar@collabora.com>2017-02-24 12:24:43 +0100
commitd12204e92196e85098b2f943fd8adac7b90b858d (patch)
tree8543b7841ac06ac94801a710dafe8994f0b3396b /ucb
parentf66e3708827806247539a7cc43a862332b0c9737 (diff)
-Werror,-Wimplicit-fallthrough
Change-Id: I7ea9c1af7568ce37f29df14f8dc4345031c20eb8 (cherry picked from commit dfafaeb989c16792d722d2a256a621f58f8e81fc) Reviewed-on: https://gerrit.libreoffice.org/34527 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com> (cherry picked from commit d48f30590a54000287ebdc3453d61e40d6fdfde7)
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav/webdavcontent.cxx1
-rw-r--r--ucb/source/ucp/webdav/webdavresponseparser.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/ucb/source/ucp/webdav/webdavcontent.cxx b/ucb/source/ucp/webdav/webdavcontent.cxx
index ca71b3bf68a1..741363a7cfd4 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 f666d8686a63..66b73f1d29d3 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