From 459e2473c8a8a84318256128223cd53b72168c29 Mon Sep 17 00:00:00 2001 From: username Date: Sat, 29 Aug 2020 21:15:15 +0200 Subject: [PATCH] Remove unused variable --- src/Composer/Command/StatusCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Command/StatusCommand.php b/src/Composer/Command/StatusCommand.php index e4de749f1..45affa9e5 100644 --- a/src/Composer/Command/StatusCommand.php +++ b/src/Composer/Command/StatusCommand.php @@ -121,7 +121,7 @@ EOT } if ($downloader instanceof VcsCapableDownloaderInterface) { - if ($currentRef = $downloader->getVcsReference($package, $targetDir)) { + if ($downloader->getVcsReference($package, $targetDir)) { switch ($package->getInstallationSource()) { case 'source': $previousRef = $package->getSourceReference();