Fix an uninitialized-variable warning.

This commit is contained in:
Nick Mathewson 2015-01-30 14:46:18 -05:00
parent 44e9dafb67
commit bc9ade055e

View File

@ -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;