diff dmd/StructDeclaration.d @ 89:37b95c347975

Fixed an obscure bug with i variable being reused
author korDen
date Mon, 30 Aug 2010 23:25:50 +0400
parents 23280d154c5b
children ae5b11064a9a
line wrap: on
line diff
--- a/dmd/StructDeclaration.d	Mon Aug 30 19:58:14 2010 +0400
+++ b/dmd/StructDeclaration.d	Mon Aug 30 23:25:50 2010 +0400
@@ -96,7 +96,6 @@
 	
     override void semantic(Scope sc)
 	{
-		int i;
 		Scope sc2;
 
 		//printf("+StructDeclaration.semantic(this=%p, '%s')\n", this, toChars());