mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 22:30:31 +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: 801058e514
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
|
void ClassExpression::dump(int indent) const
|
||||||
{
|
{
|
||||||
print_indent(indent);
|
print_indent(indent);
|
||||||
|
ASSERT(m_name.characters());
|
||||||
printf("ClassExpression: \"%s\"\n", m_name.characters());
|
printf("ClassExpression: \"%s\"\n", m_name.characters());
|
||||||
|
|
||||||
print_indent(indent);
|
print_indent(indent);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue