mirror of
https://github.com/gbdev/rgbds.git
synced 2026-08-21 06:14:35 +00:00
Remove impossible condition (uint64_t > UINT64_MAX)
This commit is contained in:
@@ -314,8 +314,6 @@ static void parseArg(int ch, char *arg) {
|
||||
case 'X':
|
||||
if (std::optional<uint64_t> maxErrors = parseWholeNumber(arg); !maxErrors) {
|
||||
fatal("Invalid argument for option '-X'");
|
||||
} else if (*maxErrors > UINT64_MAX) {
|
||||
fatal("Argument for option '-X' must be between 0 and %" PRIu64, UINT64_MAX);
|
||||
} else {
|
||||
options.maxErrors = *maxErrors;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user