[tor-commits] [tor/master] Add a "falls through" comment to make gcc happy.
nickm at torproject.org
nickm at torproject.org
Fri Jan 19 22:30:30 UTC 2018
commit ef148638a1d3b3123be41bc44197bcb7f1bb4083
Author: Nick Mathewson <nickm at torproject.org>
Date: Fri Jan 19 17:29:36 2018 -0500
Add a "falls through" comment to make gcc happy.
---
src/or/circuitbuild.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index ddcb72bf4..9c049a24b 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -2288,6 +2288,7 @@ choose_good_exit_server(origin_circuit_t *circ, int need_uptime,
/* For these three, we want to pick the exit like a middle hop,
* since it should be random. */
tor_assert_nonfatal(is_internal);
+ /* Falls through */
case CIRCUIT_PURPOSE_C_GENERAL:
if (is_internal) /* pick it like a middle hop */
return router_choose_random_node(NULL, options->ExcludeNodes, flags);
More information about the tor-commits
mailing list