mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Fix uninitialized-variable warning on options_init_from_string().
This commit is contained in:
parent
a51ad3fe56
commit
4e6b13a38a
@ -5056,7 +5056,7 @@ options_init_from_string(const char *cf_defaults, const char *cf,
|
|||||||
config_line_t *cl;
|
config_line_t *cl;
|
||||||
int retval;
|
int retval;
|
||||||
setopt_err_t err = SETOPT_ERR_MISC;
|
setopt_err_t err = SETOPT_ERR_MISC;
|
||||||
int cf_has_include;
|
int cf_has_include = 0;
|
||||||
tor_assert(msg);
|
tor_assert(msg);
|
||||||
|
|
||||||
oldoptions = global_options; /* get_options unfortunately asserts if
|
oldoptions = global_options; /* get_options unfortunately asserts if
|
||||||
|
Loading…
Reference in New Issue
Block a user