瀏覽代碼

[Routing] removed unused variable

Fabien Potencier 13 年之前
父節點
當前提交
09692e2f16
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/Symfony/Component/Routing/RouteCollection.php

+ 0 - 1
src/Symfony/Component/Routing/RouteCollection.php

@@ -44,7 +44,6 @@ class RouteCollection implements \IteratorAggregate
 
 
     public function __clone()
     public function __clone()
     {
     {
-        $parent = $this;
         foreach ($this->routes as $name => $route) {
         foreach ($this->routes as $name => $route) {
             $this->routes[$name] = clone $route;
             $this->routes[$name] = clone $route;
             if ($route instanceof RouteCollection) {
             if ($route instanceof RouteCollection) {