LibJS: Soothe gcc about printf-%s on (non-)nullptr

This commit is contained in:
Ben Wiederhake 2020-07-25 19:44:12 +02:00 committed by Andreas Kling
parent fc425a218d
commit 801058e514
Notes: sideshowbarker 2024-07-19 04:30:14 +09:00

View file

@ -930,6 +930,7 @@ void ClassDeclaration::dump(int indent) const
void ClassExpression::dump(int indent) const
{
print_indent(indent);
ASSERT(m_name.characters());
printf("ClassExpression: \"%s\"\n", m_name.characters());
print_indent(indent);