summaryrefslogtreecommitdiff
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-05-30 08:33:27 -0400
commite5f4642db3f7cc2ff66d74a8837d0aa24034cdfa (patch)
treeec70b61965aeac739a8f9912a736f100135a86b3 /src/or/relay.c
parentd1580ad49ba7a112021803428d5bdef2259b014e (diff)
downloadtor-e5f4642db3f7cc2ff66d74a8837d0aa24034cdfa.tar.gz
tor-e5f4642db3f7cc2ff66d74a8837d0aa24034cdfa.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 7082002f84..c119c3df14 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -994,6 +994,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: