]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-settings: Remove settings_parser_deinit()
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 2 Dec 2022 12:59:41 +0000 (14:59 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Wed, 7 Dec 2022 08:26:24 +0000 (08:26 +0000)
src/lib-settings/settings-parser.c
src/lib-settings/settings-parser.h

index b2e199b16c3328a0781b41e7807fa34c0c078238..c06ef8fad42cfac4d3c33e51d364a072e760f4bc 100644 (file)
@@ -257,11 +257,6 @@ void settings_parser_unref(struct setting_parser_context **_ctx)
        pool_unref(&ctx->parser_pool);
 }
 
-void settings_parser_deinit(struct setting_parser_context **ctx)
-{
-       settings_parser_unref(ctx);
-}
-
 void *settings_parser_get(struct setting_parser_context *ctx)
 {
        i_assert(ctx->root_count == 1);
index 4f0895ee75aaa259c3ce3c0df71edf65d95fa054..865e39b54e110e6ec3482b976684a6c0d3da89be 100644 (file)
@@ -134,7 +134,6 @@ settings_parser_init_list(pool_t set_pool,
                          unsigned int count, enum settings_parser_flags flags);
 void settings_parser_ref(struct setting_parser_context *ctx);
 void settings_parser_unref(struct setting_parser_context **ctx);
-void settings_parser_deinit(struct setting_parser_context **ctx);
 
 /* Return pointer to root setting structure. */
 void *settings_parser_get(struct setting_parser_context *ctx);