From d363cade423cc9f16136ee26aa8c2e5b9b263f8d Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Fri, 13 Jun 2025 18:28:54 +0800 Subject: [PATCH] Improve code quality --- Flow.Launcher.Infrastructure/Http/Http.cs | 2 +- Flow.Launcher.Infrastructure/NativeMethods.txt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Flow.Launcher.Infrastructure/Http/Http.cs b/Flow.Launcher.Infrastructure/Http/Http.cs index 22eb065f5..1bba319bd 100644 --- a/Flow.Launcher.Infrastructure/Http/Http.cs +++ b/Flow.Launcher.Infrastructure/Http/Http.cs @@ -228,7 +228,7 @@ namespace Flow.Launcher.Infrastructure.Http Log.Debug(ClassName, $"Url <{url}>"); return await client.GetStringAsync(url, token); } - catch (System.Exception e) + catch (System.Exception) { return string.Empty; } diff --git a/Flow.Launcher.Infrastructure/NativeMethods.txt b/Flow.Launcher.Infrastructure/NativeMethods.txt index 403e15504..afd94feeb 100644 --- a/Flow.Launcher.Infrastructure/NativeMethods.txt +++ b/Flow.Launcher.Infrastructure/NativeMethods.txt @@ -80,4 +80,3 @@ OpenProcess GetProcessId DuplicateTokenEx CreateProcessWithTokenW -STARTUPINFO \ No newline at end of file