From cfdbd19d99f0ba78c6c69e63084dfe6192cee775 Mon Sep 17 00:00:00 2001 From: SysC0mp Date: Sun, 3 May 2020 18:05:01 +0200 Subject: [PATCH] Remove variable and use returned dictionary directly --- Plugins/Flow.Launcher.Plugin.Folder/Main.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.Folder/Main.cs b/Plugins/Flow.Launcher.Plugin.Folder/Main.cs index 4f6d26590..7b44b110f 100644 --- a/Plugins/Flow.Launcher.Plugin.Folder/Main.cs +++ b/Plugins/Flow.Launcher.Plugin.Folder/Main.cs @@ -167,8 +167,7 @@ namespace Flow.Launcher.Plugin.Folder { _envStringPaths = new Dictionary(); - var specialPaths = System.Environment.GetEnvironmentVariables(); - foreach (DictionaryEntry special in specialPaths) + foreach (DictionaryEntry special in Environment.GetEnvironmentVariables()) { if (Directory.Exists(special.Value.ToString())) {