8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 18:03:04 +01:00

Better assert

This commit is contained in:
AlexPeshkoff 2021-07-07 18:59:47 +03:00
parent 575761e8c9
commit 784469074f

View File

@ -168,8 +168,7 @@ namespace
if (p->num == num)
return p->name;
}
if (num)
fb_assert(false);
fb_assert(!num);
return "<unknown object type>";
}
} // anonymous namespace