mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 21:23:03 +01:00
Better assert
This commit is contained in:
parent
575761e8c9
commit
784469074f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user