From 778e8d78c7915103fa2b79b6c7d2c881c8a12995 Mon Sep 17 00:00:00 2001 From: Antony Male Date: Fri, 12 Sep 2014 17:51:40 +0100 Subject: [PATCH] Remove unused variable --- Stylet/StyletIoC/Creation/BuilderUpper.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Stylet/StyletIoC/Creation/BuilderUpper.cs b/Stylet/StyletIoC/Creation/BuilderUpper.cs index d3a348a..67c518c 100644 --- a/Stylet/StyletIoC/Creation/BuilderUpper.cs +++ b/Stylet/StyletIoC/Creation/BuilderUpper.cs @@ -74,7 +74,6 @@ namespace StyletIoC.Creation var parameterExpression = Expression.Parameter(typeof(object), "inputParameter"); var registrationContext = Expression.Parameter(typeof(IRegistrationContext), "registrationContext"); var typedParameterExpression = Expression.Convert(parameterExpression, this.type); - var expression = this.GetExpression(typedParameterExpression, registrationContext); this.implementor = Expression.Lambda>(this.GetExpression(typedParameterExpression, registrationContext), registrationContext, parameterExpression).Compile(); return this.implementor;