mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
Remove now-unused OPTIONS_DUMP_DEFAULTS.
This commit is contained in:
parent
62e1d983cf
commit
50abc06d84
@ -2771,10 +2771,6 @@ options_dump(const or_options_t *options, int how_to_dump)
|
|||||||
use_defaults = global_default_options;
|
use_defaults = global_default_options;
|
||||||
minimal = 1;
|
minimal = 1;
|
||||||
break;
|
break;
|
||||||
case OPTIONS_DUMP_DEFAULTS:
|
|
||||||
use_defaults = NULL;
|
|
||||||
minimal = 1;
|
|
||||||
break;
|
|
||||||
case OPTIONS_DUMP_ALL:
|
case OPTIONS_DUMP_ALL:
|
||||||
use_defaults = NULL;
|
use_defaults = NULL;
|
||||||
minimal = 0;
|
minimal = 0;
|
||||||
|
@ -58,8 +58,7 @@ setopt_err_t options_trial_assign(struct config_line_t *list, unsigned flags,
|
|||||||
void options_init(or_options_t *options);
|
void options_init(or_options_t *options);
|
||||||
|
|
||||||
#define OPTIONS_DUMP_MINIMAL 1
|
#define OPTIONS_DUMP_MINIMAL 1
|
||||||
#define OPTIONS_DUMP_DEFAULTS 2
|
#define OPTIONS_DUMP_ALL 2
|
||||||
#define OPTIONS_DUMP_ALL 3
|
|
||||||
char *options_dump(const or_options_t *options, int how_to_dump);
|
char *options_dump(const or_options_t *options, int how_to_dump);
|
||||||
int options_init_from_torrc(int argc, char **argv);
|
int options_init_from_torrc(int argc, char **argv);
|
||||||
setopt_err_t options_init_from_string(const char *cf_defaults, const char *cf,
|
setopt_err_t options_init_from_string(const char *cf_defaults, const char *cf,
|
||||||
|
Loading…
Reference in New Issue
Block a user