summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-02-17 11:46:38 -0500
committerNick Mathewson <nickm@torproject.org>2017-02-17 11:47:25 -0500
commit823fb68a14b551fc1f40e904428b3e31732441c5 (patch)
tree7f16dd13d65af178aca46c87d13d5f2dfb0ba213 /src/or/config.c
parent5dbbd6bc392892df63a02cf601f94fa1fae6ebfc (diff)
downloadtor-823fb68a14b551fc1f40e904428b3e31732441c5.tar.gz
tor-823fb68a14b551fc1f40e904428b3e31732441c5.zip
Remove a redundant check in ..transition_affects_guards()
scan-build found that we we checking UseEntryGuards twice. Fixes bug 21492.
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index e979930b10..a527571cb0 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -1587,7 +1587,6 @@ options_transition_affects_guards(const or_options_t *old,
return
(old->UseEntryGuards != new->UseEntryGuards ||
old->UseBridges != new->UseBridges ||
- old->UseEntryGuards != new->UseEntryGuards ||
old->ClientUseIPv4 != new->ClientUseIPv4 ||
old->ClientUseIPv6 != new->ClientUseIPv6 ||
old->FascistFirewall != new->FascistFirewall ||