]> Sergey Matveev's repositories - public-inbox.git/commitdiff
v2writable: remove unnecessary idx_init call
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Mon, 19 Mar 2018 08:14:36 +0000 (08:14 +0000)
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Mon, 19 Mar 2018 08:16:34 +0000 (08:16 +0000)
We no longer need it with ->barrier working

lib/PublicInbox/V2Writable.pm

index 6e2a8d68cc45f10e129d8f072c4dca45d3914746..b6c46a21a704b7a1a961eaa3007ad3c5acf723c4 100644 (file)
@@ -125,7 +125,6 @@ sub num_for {
 
                # very unlikely:
                warn "<$mid> reused for mismatched content\n";
-               $self->idx_init;
 
                # try the rest of the mids
                foreach my $i (1..$#$mids) {