minor #29016 [VarExporter] Cleanup unused var (ro0NL)

This PR was merged into the 4.2-dev branch.

Discussion
----------

[VarExporter] Cleanup unused var

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #...   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

<!--
Write a short README entry for your feature/bugfix here (replace this comment block.)
This will help people understand your PR and can be used as a start of the Doc PR.
Additionally:
 - Bug fixes must be submitted against the lowest branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too).
 - Features and deprecations must be submitted against the master branch.
-->

Commits
-------

d254004c26 [VarExporter] Cleanup unused var
This commit is contained in:
Nicolas Grekas 2018-10-29 12:06:16 +01:00
commit f5d390800b

View File

@ -265,7 +265,6 @@ class Exporter
private static function exportRegistry(Registry $value, string $indent, string $subIndent): string
{
$code = '';
$reflectors = array();
$serializables = array();
$seen = array();
$prototypesAccess = 0;