From: Karl Fleischmann Date: Fri, 15 Aug 2025 12:47:28 +0000 (+0200) Subject: config: config_connection_request() - Don't store unused import_environment X-Git-Tag: 2.4.2~461 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f3150f9559b70aff9a4c2d8ba91154a54375ac5;p=thirdparty%2Fdovecot%2Fcore.git config: config_connection_request() - Don't store unused import_environment --- diff --git a/src/config/config-connection.c b/src/config/config-connection.c index d9e0a13207..658d00f990 100644 --- a/src/config/config-connection.c +++ b/src/config/config-connection.c @@ -71,8 +71,6 @@ static int config_global_reload(const char **error_r) static int config_connection_request(struct config_connection *conn, const char *const *args) { - const char *import_environment; - while (*args != NULL) { if (strcmp(*args, "reload") == 0) { const char *error; @@ -91,7 +89,7 @@ static int config_connection_request(struct config_connection *conn, if (global_config_fd == -1) { int fd = config_dump_full(global_config, CONFIG_DUMP_FULL_DEST_RUNDIR, - 0, &import_environment); + 0, NULL); if (fd == -1) { o_stream_nsend_str(conn->output, "-Failed\n"); return 0;