]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-imap: Fix another compiler warning
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 30 Jan 2017 16:55:29 +0000 (18:55 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 30 Jan 2017 16:55:29 +0000 (18:55 +0200)
Unnecessary, but older gcc complains.

src/lib-imap/imap-bodystructure.c

index 256cd940eb38d840185da92e77945f5d6802838d..d9699aa52a8839133dbde9b857c5bb9ed2f3210e 100644 (file)
@@ -596,7 +596,7 @@ int imap_bodystructure_parse_full(const char *bodystructure,
        struct istream *input;
        struct imap_parser *parser;
        const struct imap_arg *args;
-       char *error;
+       char *error = NULL;
        int ret;
 
        i_assert(*parts == NULL || (*parts)->next == NULL);