From: Eric Wong Date: Mon, 19 Apr 2021 08:52:12 +0000 (+0000) Subject: lei_saved_search: avoid needless var shadowing X-Git-Tag: v1.7.0~788 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=cb0bfb6843650025faed942bfd08338fdaf17b3d;p=public-inbox.git lei_saved_search: avoid needless var shadowing While perl (5.28) doesn't complain about this, it's confusing to my easily-confused mind. --- diff --git a/lib/PublicInbox/LeiSavedSearch.pm b/lib/PublicInbox/LeiSavedSearch.pm index 94920a4e..19f4aa5f 100644 --- a/lib/PublicInbox/LeiSavedSearch.pm +++ b/lib/PublicInbox/LeiSavedSearch.pm @@ -79,7 +79,7 @@ sub new { $self->{-cfg} //= PublicInbox::Config::git_config_dump($f); $self->{'-f'} = $f; } else { # new saved search "lei q --save" - my $dst = $lei->{ovv}->{dst}; + $dst = $lei->{ovv}->{dst}; $dir = lss_dir_for($lei, \$dst); require File::Path; File::Path::make_path($dir); # raises on error