From 5cb374aff2c62afe2ed6c6c593e6196d27b833d2 Mon Sep 17 00:00:00 2001 From: Rankyn Bass Date: Sat, 27 Jul 2024 16:11:13 -0700 Subject: [PATCH] Some more cleanup --- src/XIVLauncher.Core/CoreEnvironmentSettings.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/XIVLauncher.Core/CoreEnvironmentSettings.cs b/src/XIVLauncher.Core/CoreEnvironmentSettings.cs index 3ecd7d54..b5975868 100644 --- a/src/XIVLauncher.Core/CoreEnvironmentSettings.cs +++ b/src/XIVLauncher.Core/CoreEnvironmentSettings.cs @@ -42,8 +42,7 @@ public static string GetCleanEnvironmentVariable(string envvar, string badstring public static uint GetAltAppId(string? appid) { - uint result; - uint.TryParse(appid, out result); + uint.TryParse(appid, out var result); // Will return 0 if appid is invalid (or zero). return result;