1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

Misc Qodana cleanups

This commit is contained in:
Amos
2024-07-02 23:05:47 +01:00
committed by Ayymoss
parent e94a0ae691
commit f2b273b878
13 changed files with 150 additions and 154 deletions

View File

@ -107,9 +107,7 @@ namespace SharedLibraryCore.Helpers
private static int ParseVersion(string input)
{
int version;
if (!int.TryParse(input, out version))
if (!int.TryParse(input, out var version))
{
throw new FormatException(
"buildNumber string was not in a correct format");
@ -160,4 +158,4 @@ namespace SharedLibraryCore.Helpers
}
}
}
}
}