]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Compiler warning fix.
authorTimo Sirainen <tss@iki.fi>
Thu, 19 Dec 2013 19:21:39 +0000 (21:21 +0200)
committerTimo Sirainen <tss@iki.fi>
Thu, 19 Dec 2013 19:21:39 +0000 (21:21 +0200)
src/imap/cmd-getmetadata.c

index 487e216ca64cfe97a4f483ad5cf35fb282ca9032..19d96d8a505ce236f35b81c7bce98784d77659f7 100644 (file)
@@ -261,7 +261,6 @@ static int cmd_getmetadata_send_entry_tree(struct imap_getmetadata_context *ctx,
                str_append_c(ctx->iter_entry_prefix, '/');
 
                imap_metadata_entry2key(entry, ctx->key_prefix, &type, &key);
-               type = type;
                ctx->iter = mailbox_attribute_iter_init(ctx->box, type,
                        key[0] == '\0' ? "" : t_strconcat(key, "/", NULL));
                return 1;