Skip to content

Commit

Permalink
Not much use in blanking the array each time
Browse files Browse the repository at this point in the history
  • Loading branch information
lmcd committed Jan 6, 2013
1 parent a4d711c commit 9864d95
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Symfony/Component/Console/Helper/DialogHelper.php
Expand Up @@ -113,7 +113,6 @@ public function ask(OutputInterface $output, $question, $default = null, array $
$output->write("\033[K");
$ret = substr($ret, 0, $i);

$matches = array();
$numMatches = 0;

continue;
Expand Down Expand Up @@ -150,7 +149,6 @@ public function ask(OutputInterface $output, $question, $default = null, array $
break;
}

$matches = array();
$numMatches = 0;
}

Expand All @@ -160,7 +158,6 @@ public function ask(OutputInterface $output, $question, $default = null, array $
$ret .= $c;
$i++;

$matches = array();
$numMatches = 0;
$ofs = 0;

Expand Down

0 comments on commit 9864d95

Please sign in to comment.