From bc9ade055e7a256e5d8a5be876806a8dd0bca7af Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 30 Jan 2015 14:46:18 -0500 Subject: Fix an uninitialized-variable warning. --- src/or/rendservice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or') diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 7028763d39..28d922ab2c 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -336,7 +336,7 @@ parse_port_config(const char *string) { smartlist_t *sl; int virtport; - int realport; + int realport = 0; uint16_t p; tor_addr_t addr; const char *addrport; -- cgit v1.2.3-54-g00ecf