diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-01-30 14:46:18 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-01-30 14:46:18 -0500 |
commit | bc9ade055e7a256e5d8a5be876806a8dd0bca7af (patch) | |
tree | 510b820fe530f6dce2892de334c3684257952d79 | |
parent | 44e9dafb67370aa6fb163cda150a80466f668111 (diff) | |
download | tor-bc9ade055e7a256e5d8a5be876806a8dd0bca7af.tar.gz tor-bc9ade055e7a256e5d8a5be876806a8dd0bca7af.zip |
Fix an uninitialized-variable warning.
-rw-r--r-- | src/or/rendservice.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |