summaryrefslogtreecommitdiffstats
path: root/mailbox.h
diff options
context:
space:
mode:
authorDamien Riegel <damien@riegel.io>2016-05-26 14:05:39 -0700
committerDamien Riegel <damien@riegel.io>2016-05-26 14:05:39 -0700
commit127fd40600a18cbd6dc2d5580f49ac75fc71e659 (patch)
tree35f351f549d12d67bd8dbec4a8c291edf64a9c2d /mailbox.h
parentad05fc2d78e50ebfa5cac5af898b975b0cf43903 (diff)
mx_check_mailbox: remove lock argument in function call
This function is only called in one place with lock = 0. Basically, all code under if (lock) is dead code, so we can remove it, making the function simpler to factorize.
Diffstat (limited to 'mailbox.h')
-rw-r--r--mailbox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mailbox.h b/mailbox.h
index f61e5865..8d35c4d6 100644
--- a/mailbox.h
+++ b/mailbox.h
@@ -69,7 +69,7 @@ int mx_commit_message (MESSAGE *, CONTEXT *);
int mx_close_message (MESSAGE **);
int mx_get_magic (const char *);
int mx_set_magic (const char *);
-int mx_check_mailbox (CONTEXT *, int *, int);
+int mx_check_mailbox (CONTEXT *, int *);
#ifdef USE_IMAP
int mx_is_imap (const char *);
#endif