1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-02 23:12:08 +00:00

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