mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
LibJS: Soothe gcc about printf-%s on (non-)nullptr
This commit is contained in:
parent
fc425a218d
commit
801058e514
Notes:
sideshowbarker
2024-07-19 04:30:14 +09:00
Author: https://github.com/BenWiederhake Commit: https://github.com/SerenityOS/serenity/commit/801058e5140 Pull-request: https://github.com/SerenityOS/serenity/pull/2882 Reviewed-by: https://github.com/alimpfard
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue