diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-10-22 13:52:40 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-10-22 13:52:40 -0400 |
commit | 697d99e50411b29eeb82667a870bd10c5efa9509 (patch) | |
tree | 46ba4cdd127232036743d04506dd51d742e2de93 /src/test/test_confparse.c | |
parent | 91413e04b458f41334ea4e25e35829043956b742 (diff) | |
download | tor-697d99e50411b29eeb82667a870bd10c5efa9509.tar.gz tor-697d99e50411b29eeb82667a870bd10c5efa9509.zip |
validate_fn(): remove now-unused defaults and from_setconf.
These arguments were only used by options_validate, and are now
ignored even there.
Diffstat (limited to 'src/test/test_confparse.c')
-rw-r--r-- | src/test/test_confparse.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/test/test_confparse.c b/src/test/test_confparse.c index 5f29a22c10..cfdcd34c3a 100644 --- a/src/test/test_confparse.c +++ b/src/test/test_confparse.c @@ -103,12 +103,9 @@ static config_deprecation_t test_deprecation_notes[] = { }; static int -test_validate_cb(void *old_options, void *options, void *default_options, - int from_setconf, char **msg) +test_validate_cb(void *old_options, void *options, char **msg) { (void)old_options; - (void)default_options; - (void)from_setconf; (void)msg; test_struct_t *ts = options; |