summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--standalone/flags_parser.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/standalone/flags_parser.cpp b/standalone/flags_parser.cpp
index 10da6754be8..6f9b23ea90e 100644
--- a/standalone/flags_parser.cpp
+++ b/standalone/flags_parser.cpp
@@ -144,8 +144,6 @@ bool FlagParser::runHandler(const char *Name, const char *Value,
case FlagType::FT_int:
char *ValueEnd;
long V = strtol(Value, &ValueEnd, 10);
- static_assert(INT_MAX <= LONG_MAX);
- static_assert(INT_MIN >= LONG_MIN);
// strtol returns LONG_MAX on overflow and LONG_MIN on underflow.
// This is why we compare-equal here (and lose INT_MIN and INT_MAX as a
// value, but that's okay)