ソースを参照

mpick: remove dead code

It would load the seq file even when unused (and complain when it's not found).
Message-Id: <20210706174750.246026-1-l@vgx.fr>
crlfconfusion
Léo Villeveygoux 1年前 committed by Leah Neukirchen
コミット
65d43e3cea
  1. 6
      mpick.c

6
mpick.c

@ -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;
}

読み込み中…
キャンセル
保存