summaryrefslogtreecommitdiffstats
path: root/elftosb2
diff options
context:
space:
mode:
Diffstat (limited to 'elftosb2')
-rw-r--r--elftosb2/ElftosbAST.cpp2
-rw-r--r--elftosb2/ElftosbAST.h2
-rw-r--r--elftosb2/elftosb_parser.y2
3 files changed, 3 insertions, 3 deletions
diff --git a/elftosb2/ElftosbAST.cpp b/elftosb2/ElftosbAST.cpp
index 197f4c6..749da62 100644
--- a/elftosb2/ElftosbAST.cpp
+++ b/elftosb2/ElftosbAST.cpp
@@ -263,7 +263,7 @@ SymbolRefExprASTNode::SymbolRefExprASTNode(const SymbolRefExprASTNode & other)
}
}
-void SymbolRefExprASTNode::printTree(int indent) const
+void SymbolRefExprASTNode::printTree(int /*indent*/) const
{
}
diff --git a/elftosb2/ElftosbAST.h b/elftosb2/ElftosbAST.h
index cb70f49..230708d 100644
--- a/elftosb2/ElftosbAST.h
+++ b/elftosb2/ElftosbAST.h
@@ -243,7 +243,7 @@ public:
//! The default implementation simply return this node unmodified. This
//! method is responsible for deleting any nodes that are no longer needed.
//! (?) how to delete this?
- virtual ExprASTNode * reduce(EvalContext & context) { return this; }
+ virtual ExprASTNode * reduce(EvalContext & /*context*/) { return this; }
int_size_t resultIntSize(int_size_t a, int_size_t b);
};
diff --git a/elftosb2/elftosb_parser.y b/elftosb2/elftosb_parser.y
index 7c33652..880d6aa 100644
--- a/elftosb2/elftosb_parser.y
+++ b/elftosb2/elftosb_parser.y
@@ -971,7 +971,7 @@ static int yylex(YYSTYPE * lvalp, YYLTYPE * yylloc, ElftosbLexer * lexer)
return token;
}
-static void yyerror(YYLTYPE * yylloc, ElftosbLexer * lexer, CommandFileASTNode ** resultAST, const char * error)
+static void yyerror(YYLTYPE * yylloc, ElftosbLexer * /*lexer*/, CommandFileASTNode ** /*resultAST*/, const char * error)
{
throw syntax_error(format_string("line %d: %s\n", yylloc->m_firstLine, error));
}