From: Timo Sirainen Date: Thu, 1 Apr 2021 09:47:15 +0000 (+0300) Subject: imap: Fix accessing uninitialized variable warning with LTO X-Git-Tag: 2.3.15~96 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=831c95f67d2e43fde4945e58426c0bf81375797a;p=thirdparty%2Fdovecot%2Fcore.git imap: Fix accessing uninitialized variable warning with LTO There doesn't seem to be any other way to quiet this warning, although it's wrong. --- diff --git a/src/imap/imap-master-client.c b/src/imap/imap-master-client.c index f3556de581..57f095fa2a 100644 --- a/src/imap/imap-master-client.c +++ b/src/imap/imap-master-client.c @@ -218,7 +218,7 @@ imap_master_client_input_args(struct connection *conn, const char *const *args, struct client *imap_client; struct mail_storage_service_input input; struct imap_master_input master_input; - const char *error, *reason; + const char *error = NULL, *reason; int ret; if (imap_master_client_parse_input(args, pool, &input, &master_input,