Skip to content
Browse files

Not much use in blanking the array each time

  • Loading branch information...
1 parent a4d711c commit 9864d9572dfbbc56677e66292effc2534f2cbac1 @lmcd lmcd committed Jan 6, 2013
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/Symfony/Component/Console/Helper/DialogHelper.php
View
3 src/Symfony/Component/Console/Helper/DialogHelper.php
@@ -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;
@@ -150,7 +149,6 @@ public function ask(OutputInterface $output, $question, $default = null, array $
break;
}
- $matches = array();
$numMatches = 0;
}
@@ -160,7 +158,6 @@ public function ask(OutputInterface $output, $question, $default = null, array $
$ret .= $c;
$i++;
- $matches = array();
$numMatches = 0;
$ofs = 0;

0 comments on commit 9864d95

Please sign in to comment.
Something went wrong with that request. Please try again.