summaryrefslogtreecommitdiff
path: root/src/value.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-04-03 23:45:38 (GMT)
committerMarius Kintel <marius@kintel.net>2012-04-03 23:45:38 (GMT)
commitd755dd61de6c3dd988ebe4eab005db145bbbb568 (patch)
tree2a518b1c419377b6ef52c064bf29a5254af2981e /src/value.cc
parent023ded046f4163eebc9bc540ad3555e23b4b8c85 (diff)
Killed some warnings
Diffstat (limited to 'src/value.cc')
-rw-r--r--src/value.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/value.cc b/src/value.cc
index 6afb762..2602f32 100644
--- a/src/value.cc
+++ b/src/value.cc
@@ -201,7 +201,7 @@ public:
#endif
}
- std::string operator()(const boost::blank &v) const {
+ std::string operator()(const boost::blank &) const {
return "undef";
}
@@ -292,7 +292,7 @@ Value Value::operator!() const
class equals_visitor : public boost::static_visitor<bool>
{
public:
- template <typename T, typename U> bool operator()(const T &op1, const U &op2) const {
+ template <typename T, typename U> bool operator()(const T &, const U &) const {
return false;
}
@@ -324,7 +324,7 @@ bool Value::operator||(const Value &v) const
class less_visitor : public boost::static_visitor<bool>
{
public:
- template <typename T, typename U> bool operator()(const T &op1, const U &op2) const {
+ template <typename T, typename U> bool operator()(const T &, const U &) const {
return false;
}
@@ -340,7 +340,7 @@ public:
class greater_visitor : public boost::static_visitor<bool>
{
public:
- template <typename T, typename U> bool operator()(const T &op1, const U &op2) const {
+ template <typename T, typename U> bool operator()(const T &, const U &) const {
return false;
}
@@ -376,7 +376,7 @@ bool Value::operator<=(const Value &v) const
class plus_visitor : public boost::static_visitor<Value>
{
public:
- template <typename T, typename U> Value operator()(const T &op1, const U &op2) const {
+ template <typename T, typename U> Value operator()(const T &, const U &) const {
return Value::undefined;
}
@@ -401,7 +401,7 @@ Value Value::operator+(const Value &v) const
class minus_visitor : public boost::static_visitor<Value>
{
public:
- template <typename T, typename U> Value operator()(const T &op1, const U &op2) const {
+ template <typename T, typename U> Value operator()(const T &, const U &) const {
return Value::undefined;
}
@@ -611,7 +611,7 @@ public:
return Value::undefined;
}
- template <typename T, typename U> Value operator()(const T &op1, const U &op2) const {
+ template <typename T, typename U> Value operator()(const T &, const U &) const {
// std::cout << "generic bracket_visitor\n";
return Value::undefined;
}
contact: Jan Huwald // Impressum