]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add a "falls through" comment to make gcc happy.
authorNick Mathewson <nickm@torproject.org>
Fri, 19 Jan 2018 22:29:36 +0000 (17:29 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 19 Jan 2018 22:29:36 +0000 (17:29 -0500)
src/or/circuitbuild.c

index ddcb72bf4735ffc62cae0c58271cfbca72db8d8f..9c049a24b37153313aba20cf6870aa0c79de544e 100644 (file)
@@ -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);