Fix msvc compiler warnings (#374)

To be noticed I edited thirdparty header for fmt library (#373), idk if
it is acceptable
This commit is contained in:
GEEKiDoS
2025-09-19 12:57:38 +08:00
committed by GitHub
parent 4e138b244e
commit 808ac0c557
9 changed files with 36 additions and 5 deletions
+1 -1
View File
@@ -2445,7 +2445,7 @@ std::unique_ptr<std::vector<Option>> launcher::parse_options(int argc, char *arg
} else {
// validate it is an integer
try {
std::stoull(argv[i], nullptr, 16);
auto _ = std::stoull(argv[i], nullptr, 16);
} catch (const std::exception &ex) {
log_fatal("options", "parameter for -{} is not a hex number: {}", alias, argv[i]);
}