]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doveadm quota: Removed unused search_args.
authorTimo Sirainen <tss@iki.fi>
Mon, 13 Sep 2010 17:11:37 +0000 (18:11 +0100)
committerTimo Sirainen <tss@iki.fi>
Mon, 13 Sep 2010 17:11:37 +0000 (18:11 +0100)
This fixes a crash when used with doveadm_expire plugin.

src/plugins/quota/doveadm-quota.c

index ecfad43142f21bd7e2dc14c6da0361f5302644f3..0caf7db85923146c81c640ee08c4eaf15838fc0b 100644 (file)
@@ -53,7 +53,7 @@ cmd_quota_get_run(struct doveadm_mail_cmd_context *ctx ATTR_UNUSED,
                cmd_quota_get_root(*root);
 }
 
-static void cmd_quota_get_init(struct doveadm_mail_cmd_context *ctx,
+static void cmd_quota_get_init(struct doveadm_mail_cmd_context *ctx ATTR_UNUSED,
                               const char *const args[] ATTR_UNUSED)
 {
        doveadm_print_header("root", "Quota name", 0);
@@ -64,8 +64,6 @@ static void cmd_quota_get_init(struct doveadm_mail_cmd_context *ctx,
                             DOVEADM_PRINT_HEADER_FLAG_RIGHT_JUSTIFY);
        doveadm_print_header("percent", "%",
                             DOVEADM_PRINT_HEADER_FLAG_RIGHT_JUSTIFY);
-
-       ctx->search_args = doveadm_mail_build_search_args(args);
 }
 
 static struct doveadm_mail_cmd_context *