aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 9ccc7300a8..b58950a68f 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -939,8 +939,7 @@ router_parse_exit_policy_from_string(const char *s)
const char *cp;
char *tmp;
struct exit_policy_t *r;
- size_t len;
- int idx;
+ size_t len, idx;
/* *s might not end with \n, so we need to extend it with one. */
len = strlen(s);