Remove broken static_assert

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
This commit is contained in:
Viktor Söderqvist 2025-12-16 16:27:44 +01:00
parent 607fa6ae0e
commit 21c2abc2f1
1 changed files with 0 additions and 3 deletions

View File

@ -58,9 +58,6 @@ static const int RDB_VERSION_MAP[][2] = {
{80, 0x090000},
};
static_assert(RDB_VERSION == RDB_VERSION_MAP[sizeof(RDB_VERSION_MAP) / sizeof(RDB_VERSION_MAP[0]) - 1][0],
"RDB_VERSION must be the last entry in RDB_VERSION_MAP");
/* Reserved range for foreign (unsupported, non-OSS) RDB format. */
#define RDB_FOREIGN_VERSION_MIN 12
#define RDB_FOREIGN_VERSION_MAX 79