Skip to content

Commit

Permalink
fixing compiler error because of unused named parameter
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Parpart <[email protected]>
  • Loading branch information
christianparpart committed Jan 3, 2024
1 parent fbba85e commit 7a39380
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shell/ASTPrinter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class ASTPrinter: public Visitor
}
}
void visit(BuiltinExportStmt const& node) override { _result += "export " + node.name; }
void visit(BuiltinFalseStmt const& node) override { _result += "false"; }
void visit(BuiltinFalseStmt const&) override { _result += "false"; }
void visit(BuiltinReadStmt const& node) override
{
_result += "read";
Expand All @@ -110,7 +110,7 @@ export class ASTPrinter: public Visitor
param->accept(*this);
}
}
void visit(BuiltinTrueStmt const& node) override { _result += "true"; }
void visit(BuiltinTrueStmt const&) override { _result += "true"; }

void visit(CompoundStmt const& node) override
{
Expand Down

0 comments on commit 7a39380

Please sign in to comment.