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

Unified Diff: net/quic/quic_config.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/quic/crypto/crypto_framer.cc ('k') | net/socket/ssl_client_socket_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_config.cc
diff --git a/net/quic/quic_config.cc b/net/quic/quic_config.cc
index 152da46a80f062b24fb97ac8b885a2506e5eb358..604677eae4e9fb84cc18f676ca24486c057194a0 100644
--- a/net/quic/quic_config.cc
+++ b/net/quic/quic_config.cc
@@ -62,6 +62,7 @@ QuicErrorCode QuicNegotiableUint32::ReadUint32(
error = QUIC_NO_ERROR;
*out = default_value_;
+ FALLTHROUGH_INTENDED;
case QUIC_NO_ERROR:
break;
default:
@@ -160,6 +161,7 @@ QuicErrorCode QuicNegotiableTag::ReadVector(
*out_length = 1;
*out = &default_value_;
+ FALLTHROUGH_INTENDED;
case QUIC_NO_ERROR:
break;
default:
« no previous file with comments | « net/quic/crypto/crypto_framer.cc ('k') | net/socket/ssl_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698