[tor-commits] [tor/maint-0.4.2] Replace a "fall through" comment that was outside a switch.

nickm at torproject.org nickm at torproject.org
Wed May 6 20:50:30 UTC 2020


commit 75547c01a37c65398f8d31ee9cb38d865119cd28
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed May 6 10:32:35 2020 -0400

    Replace a "fall through" comment that was outside a switch.
---
 src/feature/dirauth/keypin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/feature/dirauth/keypin.c b/src/feature/dirauth/keypin.c
index 667feb2c0..06cb9ba1f 100644
--- a/src/feature/dirauth/keypin.c
+++ b/src/feature/dirauth/keypin.c
@@ -267,7 +267,7 @@ keypin_add_or_replace_entry_in_map(keypin_ent_t *ent)
     }
     tor_free(ent2);
     r = -1;
-    /* Fall through */
+    /* Note lack of return here: we fall through to the next line. */
   }
 
   keypin_add_entry_to_map(ent);





More information about the tor-commits mailing list