From: Timo Sirainen Date: Mon, 26 May 2025 07:19:38 +0000 (+0300) Subject: config: Add asserts to make static analyzer happy X-Git-Tag: 2.4.2~725 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0b5fa8fce65ef80d4b1709c0fdae56da20a5594;p=thirdparty%2Fdovecot%2Fcore.git config: Add asserts to make static analyzer happy --- diff --git a/src/config/config-parser.c b/src/config/config-parser.c index 5f5c514237..b7ddab8919 100644 --- a/src/config/config-parser.c +++ b/src/config/config-parser.c @@ -785,6 +785,7 @@ config_apply_exact_line(struct config_parser_context *ctx, p_strconcat(ctx->pool, "\n", inline_value, NULL); break; } + i_assert(line != NULL); if (config_apply_file(ctx, line, value, &l->settings[config_key->define_idx].str) < 0) return -1;