commit 4e6b13a38af023976a9b82d1207ae31ea60aecd0 Author: Nick Mathewson nickm@torproject.org Date: Fri May 19 15:18:27 2017 -0400
Fix uninitialized-variable warning on options_init_from_string(). --- src/or/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/or/config.c b/src/or/config.c index 461cf0a..c96f42c 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -5056,7 +5056,7 @@ options_init_from_string(const char *cf_defaults, const char *cf, config_line_t *cl; int retval; setopt_err_t err = SETOPT_ERR_MISC; - int cf_has_include; + int cf_has_include = 0; tor_assert(msg);
oldoptions = global_options; /* get_options unfortunately asserts if