From b38a41deda4c25bd2f65d59a06bcd7b2c471dbfb Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 31 Mar 2013 17:04:29 -0400 Subject: [PATCH] use var --- MediaBrowser.Server.Implementations/Library/LibraryManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs index 303580a49..84055cea7 100644 --- a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs +++ b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs @@ -316,7 +316,7 @@ namespace MediaBrowser.Server.Implementations.Library foreach (var special in movie.SpecialFeatures) { // Prevent access to foreach variable in closure - Video special1 = special; + var special1 = special; LibraryItemsCache.AddOrUpdate(special.Id, special, delegate { return special1; }); } }