Skip to content

Commit 8aed916

Browse files
committed
[NFC] remove static asserts
1 parent d1168df commit 8aed916

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler-rt/lib/scudo/standalone/flags_parser.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,6 @@ bool FlagParser::runHandler(const char *Name, const char *Value,
144144
case FlagType::FT_int:
145145
char *ValueEnd;
146146
long V = strtol(Value, &ValueEnd, 10);
147-
static_assert(INT_MAX <= LONG_MAX);
148-
static_assert(INT_MIN >= LONG_MIN);
149147
// strtol returns LONG_MAX on overflow and LONG_MIN on underflow.
150148
// This is why we compare-equal here (and lose INT_MIN and INT_MAX as a
151149
// value, but that's okay)

0 commit comments

Comments
 (0)