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:
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user