From aca1470e6b3591c0c5af05d9eaaa345fdcd6091d Mon Sep 17 00:00:00 2001 From: Hugo Hamon Date: Thu, 12 Jan 2012 20:00:19 +0100 Subject: [PATCH] [Tools] removed unused local variable $cm in InfoCommand class. --- lib/Doctrine/ORM/Tools/Console/Command/InfoCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Tools/Console/Command/InfoCommand.php b/lib/Doctrine/ORM/Tools/Console/Command/InfoCommand.php index 77458cf13..820cab128 100644 --- a/lib/Doctrine/ORM/Tools/Console/Command/InfoCommand.php +++ b/lib/Doctrine/ORM/Tools/Console/Command/InfoCommand.php @@ -68,7 +68,7 @@ EOT foreach ($entityClassNames as $entityClassName) { try { - $cm = $entityManager->getClassMetadata($entityClassName); + $entityManager->getClassMetadata($entityClassName); $output->writeln(sprintf("[OK] %s", $entityClassName)); } catch (MappingException $e) { $output->writeln("[FAIL] ".$entityClassName);