summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-08-19 10:59:04 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-08-19 10:59:04 +0200
commit015acd1c4a693a06b5ad800e91b4175f2249ec01 (patch)
tree10354a7cddc6f54042086f1de768d4191a798c68
parent7b4798f7d5a7519b547aad6cb086c1cb84bb6be6 (diff)
downloadApp-BorgRestore-015acd1c4a693a06b5ad800e91b4175f2249ec01.tar.gz
App-BorgRestore-015acd1c4a693a06b5ad800e91b4175f2249ec01.tar.xz
Remove unused variable
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--lib/App/BorgRestore/DB.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/App/BorgRestore/DB.pm b/lib/App/BorgRestore/DB.pm
index e8f1ce3..0c6c057 100644
--- a/lib/App/BorgRestore/DB.pm
+++ b/lib/App/BorgRestore/DB.pm
@@ -35,7 +35,7 @@ method new($class: $db_path, $cache_size) {
# ensure the cache directory exists
path($db_path)->parent->mkpath({mode => oct(700)});
- my $db = $self->_open_db($db_path);
+ $self->_open_db($db_path);
$self->initialize_db();
} else {
$self->_open_db($db_path);