diff --git a/src/Symfony/Component/Routing/RouteCompiler.php b/src/Symfony/Component/Routing/RouteCompiler.php index 9234b42b345b0..095145fd7cfc2 100644 --- a/src/Symfony/Component/Routing/RouteCompiler.php +++ b/src/Symfony/Component/Routing/RouteCompiler.php @@ -37,12 +37,8 @@ class RouteCompiler implements RouteCompilerInterface */ public static function compile(Route $route) { - $staticPrefix = null; $hostVariables = array(); - $pathVariables = array(); $variables = array(); - $tokens = array(); - $regex = null; $hostRegex = null; $hostTokens = array(); diff --git a/src/Symfony/Component/Routing/Router.php b/src/Symfony/Component/Routing/Router.php index bd7ec4b2a86aa..1f13aba17cba2 100644 --- a/src/Symfony/Component/Routing/Router.php +++ b/src/Symfony/Component/Routing/Router.php @@ -21,7 +21,6 @@ use Symfony\Component\Routing\Matcher\UrlMatcherInterface; use Symfony\Component\Routing\Matcher\Dumper\MatcherDumperInterface; use Symfony\Component\HttpFoundation\Request; -use Symfony\Component\ExpressionLanguage\ExpressionLanguage; use Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface; /**