about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-05-25 09:42:03 +0000
committerEric Wong <e@80x24.org>2019-05-25 19:01:54 +0000
commitfad37d1a1b81b7595d8d4b97b3fe8f25f0fad690 (patch)
treee2a3c824c885c8a4aef9ec5405208b75d2ce66d3
parent097a367da711ef4bd5260f604d4794dc46c2309b (diff)
downloadpublic-inbox-fad37d1a1b81b7595d8d4b97b3fe8f25f0fad690.tar.gz
Apparently it's never been used and we write to msgmap directly.
-rw-r--r--lib/PublicInbox/V2Writable.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/PublicInbox/V2Writable.pm b/lib/PublicInbox/V2Writable.pm
index 1170f32c..a6f044a8 100644
--- a/lib/PublicInbox/V2Writable.pm
+++ b/lib/PublicInbox/V2Writable.pm
@@ -965,7 +965,6 @@ sub index_sync {
                         --no-notes --no-color --no-abbrev --no-renames);
 
         # work backwards through history
-        my $last_commit = [];
         for (my $i = $epoch_max; $i >= 0; $i--) {
                 my $git_dir = git_dir_n($self, $i);
                 die "already reindexing!\n" if delete $self->{reindex_pipe};