]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Compiler warning fix.
authorTimo Sirainen <tss@iki.fi>
Thu, 15 Oct 2009 00:50:06 +0000 (20:50 -0400)
committerTimo Sirainen <tss@iki.fi>
Thu, 15 Oct 2009 00:50:06 +0000 (20:50 -0400)
--HG--
branch : HEAD

src/lib-lda/lmtp-client.c

index c58549532a18cce634ea55c700a3906dff6b4cec..305de0a510de546e92331b9f292c210bf3cd03b0 100644 (file)
@@ -146,7 +146,7 @@ lmtp_client_data_next(struct lmtp_client *client, const char *line)
 {
        struct lmtp_rcpt *rcpt;
        unsigned int i, count;
-       bool last;
+       bool last = TRUE;
 
        switch (client->protocol) {
        case LMTP_CLIENT_PROTOCOL_SMTP:
@@ -159,7 +159,6 @@ lmtp_client_data_next(struct lmtp_client *client, const char *line)
                                              rcpt[i].context);
                }
                client->rcpt_next_data_idx = count;
-               last = TRUE;
                break;
        case LMTP_CLIENT_PROTOCOL_LMTP:
                rcpt = array_idx_modifiable(&client->recipients,