Fix compare that is always true

This commit is contained in:
Björn Wahlstrand 2024-01-31 23:52:43 +01:00 committed by Christophe
parent 33b0eb9fa3
commit 8ebe4b5e57

View File

@ -22,7 +22,7 @@ namespace detail
std::size_t const STRING_BUFFER(4096);
assert(message != NULL);
assert(strlen(message) >= 0 && strlen(message) < STRING_BUFFER);
assert(strlen(message) < STRING_BUFFER);
char buffer[STRING_BUFFER];
va_list list;