From e31ffdd9cdfb802ae30f341cea25c5f0c540e956 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Thu, 21 Jun 2018 20:01:41 +0200 Subject: imap_delete(): clean up delflags[_seen] variables. --- imap.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'imap.c') diff --git a/imap.c b/imap.c index 3eb831f9..9a6a123c 100644 --- a/imap.c +++ b/imap.c @@ -1301,12 +1301,7 @@ static int imap_delete(int sock, struct query *ctl, int number) { int ok; /* Select which flags to set on message deletion: */ - const char delflags_seen[] = "\\Seen \\Deleted"; - static const char *delflags; - /* Which environment variable to look for: */ - - /* DEFAULT since many fetchmail versions <= 6.3.X */ - delflags = delflags_seen; + static const char delflags[] = "\\Seen \\Deleted"; (void)ctl; /* expunges change the fetch numbers */ -- cgit v1.2.3