]> khamidou — GitHub mirrors - arcanist.git/commitdiff
[easy] remove no-op from ArcanistLinter#raiseLintAtPath
authoradonohue <aran@fb.com>
Thu, 27 Jan 2011 01:25:25 +0000 (17:25 -0800)
committeradonohue <aran@fb.com>
Thu, 27 Jan 2011 01:33:35 +0000 (17:33 -0800)
Summary:
Remove extra call to getActivePath

Test Plan:
Inspection

Differential Revision: 205579
Reviewed By: epriestley
Reviewers: epriestley
CC: epriestley
Revert Plan:
OK

src/lint/linter/base/ArcanistLinter.php

index 55c7c669c40e627d0286cc4da897aaffafd88376..4474418b70dc0f0753d38ca0fe2c5c3f972a439a 100644 (file)
@@ -143,7 +143,6 @@ abstract class ArcanistLinter {
     $code,
     $desc) {
 
-    $path = $this->getActivePath();
     return $this->raiseLintAtLine(null, null, $code, $desc, null, null);
   }