Skip to content

Commit

Permalink
mpick: remove dead code
Browse files Browse the repository at this point in the history
It would load the seq file even when unused (and complain when it's not found).
Message-Id: <[email protected]>
  • Loading branch information
leovilok authored and leahneukirchen committed Jul 6, 2021
1 parent 386b65f commit 65d43e3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions mpick.c
Original file line number Diff line number Diff line change
Expand Up @@ -1256,10 +1256,8 @@ mailfile(struct mailinfo *m, char *file)
{
static int init;
if (!init) {
// delay loading of the seqmap until we need to scan the first
// file, in case someone in the pipe updated the map before
char *seqmap = blaze822_seq_open(0);
blaze822_seq_load(seqmap);
// delay loading of the cur mail until we need to scan the first
// file, in case someone in the pipe updated it before
cur = blaze822_seq_cur();
init = 1;
}
Expand Down

0 comments on commit 65d43e3

Please sign in to comment.