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

Unified Diff: net/base/gzip_header.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/gzip_filter.cc ('k') | net/base/registry_controlled_domains/registry_controlled_domain.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/gzip_header.cc
diff --git a/net/base/gzip_header.cc b/net/base/gzip_header.cc
index 88ad4d7a8408d98dbc800cfb3f153d6a0d0e7a11..d4bbf1f5a513a60c16338103a4693647bfc2e5de 100644
--- a/net/base/gzip_header.cc
+++ b/net/base/gzip_header.cc
@@ -101,7 +101,7 @@ GZipHeader::Status GZipHeader::ReadMore(const char* inbuf, int inbuf_len,
// We intentionally fall through, because if we have a
// zero-length FEXTRA, we want to check to notice that we're
// done reading the FEXTRA before we exit this loop...
-
+ FALLTHROUGH_INTENDED;
case IN_FEXTRA: {
// Grab the rest of the bytes in the extra field, or as many
// of them as are actually present so far.
« no previous file with comments | « net/base/gzip_filter.cc ('k') | net/base/registry_controlled_domains/registry_controlled_domain.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698