diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-05-19 15:18:27 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-05-19 15:18:27 -0400 |
commit | 4e6b13a38af023976a9b82d1207ae31ea60aecd0 (patch) | |
tree | db6d395468a4cf42687e8cfa1abd9e99a449a45a /src | |
parent | a51ad3fe56357d9bb16e7d2b051c39783ec9a7d8 (diff) | |
download | tor-4e6b13a38af023976a9b82d1207ae31ea60aecd0.tar.gz tor-4e6b13a38af023976a9b82d1207ae31ea60aecd0.zip |
Fix uninitialized-variable warning on options_init_from_string().
Diffstat (limited to 'src')
-rw-r--r-- | src/or/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c index 461cf0aa49..c96f42c6e2 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 |