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