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

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);