diff dmd/TemplateMixin.d @ 89:37b95c347975

Fixed an obscure bug with i variable being reused
author korDen
date Mon, 30 Aug 2010 23:25:50 +0400
parents b17640f0e4e8
children acd69f84627e
line wrap: on
line diff
--- a/dmd/TemplateMixin.d	Mon Aug 30 19:58:14 2010 +0400
+++ b/dmd/TemplateMixin.d	Mon Aug 30 23:25:50 2010 +0400
@@ -344,8 +344,6 @@
 
 	override void semantic2(Scope sc)
 	{
-		int i;
-
 		if (semanticRun >= 2)
 			return;
 		semanticRun = 2;
@@ -374,8 +372,6 @@
 
 	override void semantic3(Scope sc)
 	{
-		int i;
-
 		if (semanticRun >= 3)
 			return;
 		semanticRun = 3;