From 1d1d7e8a3767cf0b13d6aa630bc587f4dc43b698 Mon Sep 17 00:00:00 2001 From: Erwin de Haan Date: Sun, 27 Jan 2019 15:48:26 +0100 Subject: [PATCH] Fixed inlining local-variable artifact. --- .../AppBase/BaseConfigurationManager.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs b/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs index ec3ca8ead1..6da76ee7e4 100644 --- a/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs +++ b/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs @@ -209,9 +209,8 @@ namespace Emby.Server.Implementations.AppBase protected void EnsureWriteAccess(string path) { var file = Path.Combine(path, Guid.NewGuid().ToString()); - - string text = string.Empty; - File.WriteAllText(file, text); + + File.WriteAllText(file, string.Empty); FileSystem.DeleteFile(file); }