From dcfaae0ea7de5daf59bc57a58c4baef3f048b002 Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 14 Oct 2025 18:14:32 +0800 Subject: [PATCH] code_style: remove unused parameter Signed-off-by: leo --- src/Native/Windows.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Native/Windows.cs b/src/Native/Windows.cs index bbdc4437..aa1b42c8 100644 --- a/src/Native/Windows.cs +++ b/src/Native/Windows.cs @@ -191,7 +191,7 @@ namespace SourceGit.Native finder.Fleet(() => Path.Combine(localAppDataDir, @"Programs\Fleet\Fleet.exe")); finder.FindJetBrainsFromToolbox(() => Path.Combine(localAppDataDir, @"JetBrains\Toolbox")); finder.SublimeText(FindSublimeText); - finder.Zed(() => FindZed(localAppDataDir)); + finder.Zed(FindZed); FindVisualStudio(finder); return finder.Tools; } @@ -416,7 +416,7 @@ namespace SourceGit.Native } } - private string FindZed(string localAppDataDir) + private string FindZed() { var currentUser = Microsoft.Win32.RegistryKey.OpenBaseKey( Microsoft.Win32.RegistryHive.CurrentUser,