aboutsummaryrefslogtreecommitdiff
path: root/src/or/relay.c
diff options
context:
space:
mode:
authorAndreas Stieger <astieger@suse.com>2017-05-28 23:49:31 +0200
committerNick Mathewson <nickm@torproject.org>2017-09-11 17:47:04 -0400
commit6cd5a80275614105ccf8794465b6ba5c0c5e8f3f (patch)
tree6522e4bd90ea9926ac9bd526b24e465272c17be8 /src/or/relay.c
parentb81a2e8f46bf5951a9dd0890f7e1420cf3a6a57c (diff)
downloadtor-6cd5a80275614105ccf8794465b6ba5c0c5e8f3f.tar.gz
tor-6cd5a80275614105ccf8794465b6ba5c0c5e8f3f.zip
Fix GCC 7 -Wimplicit-fallthrough warnings
Add magic comments recognized by default -Wimplicit-fallthrough=3 or break, as required.
Diffstat (limited to 'src/or/relay.c')
-rw-r--r--src/or/relay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/relay.c b/src/or/relay.c
index 4e9dadba16..882877ade3 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -859,6 +859,7 @@ connection_ap_process_end_not_open(
break; /* break means it'll close, below */
/* Else fall through: expire this circuit, clear the
* chosen_exit_name field, and try again. */
+ /* Falls through. */
case END_STREAM_REASON_RESOLVEFAILED:
case END_STREAM_REASON_TIMEOUT:
case END_STREAM_REASON_MISC: