Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Unified Diff: net/cert/cert_database_mac.cc

Issue 12310041: experiment with -Wimplicit-fallthrough Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: rebase Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/registry_controlled_domains/registry_controlled_domain.cc ('k') | net/cert/cert_status_flags.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/cert_database_mac.cc
diff --git a/net/cert/cert_database_mac.cc b/net/cert/cert_database_mac.cc
index 9427be316d22f251c2f9daa33412ded0076f5714..eeca511fc5c7bc6753df5bba6c03776d54e92d31 100644
--- a/net/cert/cert_database_mac.cc
+++ b/net/cert/cert_database_mac.cc
@@ -159,7 +159,7 @@ int CertDatabase::AddUserCert(X509Certificate* cert) {
switch (err) {
case noErr:
CertDatabase::NotifyObserversOfCertAdded(cert);
- // Fall through.
+ FALLTHROUGH_INTENDED;
case errSecDuplicateItem:
return OK;
default:
« no previous file with comments | « net/base/registry_controlled_domains/registry_controlled_domain.cc ('k') | net/cert/cert_status_flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698