aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libsample')
-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 d93d47f01..f6eedaa77 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();