Skip to content

Commit 7a39380

Browse files
fixing compiler error because of unused named parameter
Signed-off-by: Christian Parpart <[email protected]>
1 parent fbba85e commit 7a39380

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/shell/ASTPrinter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export class ASTPrinter: public Visitor
100100
}
101101
}
102102
void visit(BuiltinExportStmt const& node) override { _result += "export " + node.name; }
103-
void visit(BuiltinFalseStmt const& node) override { _result += "false"; }
103+
void visit(BuiltinFalseStmt const&) override { _result += "false"; }
104104
void visit(BuiltinReadStmt const& node) override
105105
{
106106
_result += "read";
@@ -110,7 +110,7 @@ export class ASTPrinter: public Visitor
110110
param->accept(*this);
111111
}
112112
}
113-
void visit(BuiltinTrueStmt const& node) override { _result += "true"; }
113+
void visit(BuiltinTrueStmt const&) override { _result += "true"; }
114114

115115
void visit(CompoundStmt const& node) override
116116
{

0 commit comments

Comments
 (0)