projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some muttbug remains
[apps/madmutt.git]
/
mbox.c
diff --git
a/mbox.c
b/mbox.c
index
e140ee4
..
267cd7b
100644
(file)
--- a/
mbox.c
+++ b/
mbox.c
@@
-48,7
+48,7
@@
struct m_update_t {
};
};
-static int mbox_open_new_message (MESSAGE * msg, CONTEXT * dest, HEADER * hdr)
+static int mbox_open_new_message (MESSAGE * msg, CONTEXT * dest, HEADER * hdr
__attribute__ ((unused))
)
{
msg->fp = dest->fp;
return 0;
{
msg->fp = dest->fp;
return 0;
@@
-520,7
+520,7
@@
static int mbox_check_mailbox (CONTEXT* ctx, int* index_hint, int lock) {
* 0 success
* -1 failure
*/
* 0 success
* -1 failure
*/
-static int _mbox_sync_mailbox (CONTEXT * ctx, int unused, int *index_hint)
+static int _mbox_sync_mailbox (CONTEXT * ctx, int unused
__attribute__ ((unused))
, int *index_hint)
{
char tempfile[_POSIX_PATH_MAX];
char buf[32];
{
char tempfile[_POSIX_PATH_MAX];
char buf[32];
@@
-1089,7
+1089,7
@@
int mbox_is_magic (const char* path, struct stat* st) {
return (magic);
}
return (magic);
}
-static int commit_message (MESSAGE* msg, CONTEXT* ctx, int mbox) {
+static int commit_message (MESSAGE* msg, CONTEXT* ctx
__attribute__ ((unused))
, int mbox) {
if ((mbox && fputc ('\n', msg->fp) == EOF) ||
(!mbox && fputs (MMDF_SEP, msg->fp) == EOF))
return (-1);
if ((mbox && fputc ('\n', msg->fp) == EOF) ||
(!mbox && fputs (MMDF_SEP, msg->fp) == EOF))
return (-1);