From: Timo Sirainen Date: Fri, 28 Apr 2023 13:12:08 +0000 (+0300) Subject: doveconf: Remove unnecessary "static" from variables X-Git-Tag: 2.4.0~2115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2b9161320d7742623c8ffab70fa8e02fe439d27;p=thirdparty%2Fdovecot%2Fcore.git doveconf: Remove unnecessary "static" from variables --- diff --git a/src/config/doveconf.c b/src/config/doveconf.c index bd990df7bb..6d1c5a598f 100644 --- a/src/config/doveconf.c +++ b/src/config/doveconf.c @@ -557,7 +557,7 @@ config_dump_human_sections(struct ostream *output, bool hide_passwords) { struct config_filter_parser *const *filters; - static struct config_dump_human_context *ctx; + struct config_dump_human_context *ctx; unsigned int indent; int ret = 0; @@ -586,7 +586,7 @@ config_dump_human(const struct config_filter *filter, enum config_dump_scope scope, const char *setting_name_filter, bool hide_passwords) { - static struct config_dump_human_context *ctx; + struct config_dump_human_context *ctx; struct ostream *output; int ret; @@ -614,7 +614,7 @@ config_dump_one(const struct config_filter *filter, bool hide_key, enum config_dump_scope scope, const char *setting_name_filter, bool hide_passwords) { - static struct config_dump_human_context *ctx; + struct config_dump_human_context *ctx; const char *str; size_t len; unsigned int section_idx = 0;