From 9edcaadb2aa67dce5c7e26446e19958028e9e84f Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Fri, 22 May 2015 17:09:18 +1000 Subject: [PATCH] Remove an unused variable Summary: Ref T7604. Remove an unused variable from `ArcanistDiffWorkflow`. Test Plan: This diff, I guess. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Maniphest Tasks: T7604 Differential Revision: https://secure.phabricator.com/D12972 --- src/workflow/ArcanistDiffWorkflow.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/workflow/ArcanistDiffWorkflow.php b/src/workflow/ArcanistDiffWorkflow.php index 56c2a281..7f844de1 100644 --- a/src/workflow/ArcanistDiffWorkflow.php +++ b/src/workflow/ArcanistDiffWorkflow.php @@ -2240,11 +2240,6 @@ EOTEXT } } - $project_id = null; - if ($this->requiresWorkingCopy()) { - $project_id = $this->getWorkingCopy()->getProjectID(); - } - $data = array( 'sourceMachine' => php_uname('n'), 'sourcePath' => $source_path,