summaryrefslogtreecommitdiff
path: root/src/or/connection_edge.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/connection_edge.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/connection_edge.c')
-rw-r--r--src/or/connection_edge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index fd9c97bd3d..fc1b2c3bb3 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -261,6 +261,7 @@ connection_edge_process_inbuf(edge_connection_t *conn, int package_partial)
}
/* Fall through if the connection is on a circuit without optimistic
* data support. */
+ /* Falls through. */
case EXIT_CONN_STATE_CONNECTING:
case AP_CONN_STATE_RENDDESC_WAIT:
case AP_CONN_STATE_CIRCUIT_WAIT: