summaryrefslogtreecommitdiff
path: root/Source/cmExportCommand.cxx
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2021-09-24 11:56:57 -0400
committerBrad King <brad.king@kitware.com>2021-09-28 10:53:54 -0400
commit37859e32442bb433af9876963c92594d05fb64b3 (patch)
tree6c69acba03ce9224a4bca7bd9d5a1940aa432e47 /Source/cmExportCommand.cxx
parent907d098838c99ee6c0c72ae0cdf1cc53dbf51ba2 (diff)
downloadcmake-37859e32442bb433af9876963c92594d05fb64b3.tar.gz
Source: Fix clang -Wimplicit-fallthrough warnings
Diffstat (limited to 'Source/cmExportCommand.cxx')
-rw-r--r--Source/cmExportCommand.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmExportCommand.cxx b/Source/cmExportCommand.cxx
index 352eaf2911..63440a317f 100644
--- a/Source/cmExportCommand.cxx
+++ b/Source/cmExportCommand.cxx
@@ -282,6 +282,7 @@ static bool HandlePackage(std::vector<std::string> const& args,
// CMP0090 decides both the default and what variable changes it.
switch (mf.GetPolicyStatus(cmPolicies::CMP0090)) {
case cmPolicies::WARN:
+ CM_FALLTHROUGH;
case cmPolicies::OLD:
// Default is to export, but can be disabled.
if (mf.IsOn("CMAKE_EXPORT_NO_PACKAGE_REGISTRY")) {