From 7a39380f4931f25ff28311a9ff5280abf05c005b Mon Sep 17 00:00:00 2001 From: Christian Parpart Date: Wed, 3 Jan 2024 21:12:44 +0100 Subject: [PATCH] fixing compiler error because of unused named parameter Signed-off-by: Christian Parpart --- src/shell/ASTPrinter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shell/ASTPrinter.cpp b/src/shell/ASTPrinter.cpp index 6bb849c..93edc6b 100644 --- a/src/shell/ASTPrinter.cpp +++ b/src/shell/ASTPrinter.cpp @@ -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"; @@ -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 {