8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 21:23:03 +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) if (p->num == num)
return p->name; return p->name;
} }
if (num) fb_assert(!num);
fb_assert(false);
return "<unknown object type>"; return "<unknown object type>";
} }
} // anonymous namespace } // anonymous namespace