]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/InboxWritable.pm
inboxwritable: drop unused variable
[public-inbox.git] / lib / PublicInbox / InboxWritable.pm
index 9b0cdfd04e229ce7cb9cce70008f67cded1e028f..87c9ada9757c375ad97cf79207f428386f74565e 100644 (file)
@@ -39,6 +39,7 @@ sub importer {
                        my $addr = $self->{-primary_address};
                        PublicInbox::Import->new($git, $name, $addr, $self);
                } else {
+                       $! = 78; # EX_CONFIG 5.3.5 local configuration error
                        die "unsupported inbox version: $v\n";
                }
        }
@@ -167,7 +168,6 @@ sub import_mbox {
 
 sub _read_git_config_perm {
        my ($self) = @_;
-       my @cmd = qw(config);
        chomp(my $perm = $self->git->qx('config', 'core.sharedRepository'));
        $perm;
 }