summaryrefslogtreecommitdiffstats
path: root/tests/libsample/expression.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libsample/expression.cpp')
-rw-r--r--tests/libsample/expression.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/libsample/expression.cpp b/tests/libsample/expression.cpp
index d93d47f0..f6eedaa7 100644
--- a/tests/libsample/expression.cpp
+++ b/tests/libsample/expression.cpp
@@ -118,6 +118,9 @@ std::string Expression::toString() const
case GreaterThan:
op = '<';
break;
+ case None: // just to avoid the compiler warning
+ default:
+ break;
}
result += op;
result += m_operand2->toString();