diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-12-28 17:24:18 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-12-28 19:35:40 -0200 |
commit | 5bfe40a435b49cf23aac247d1f6336def879ee71 (patch) | |
tree | 8f08f92c04456316d2b1dd91f12ed47edf5f6540 | |
parent | e9f833b5a2d4ce4893bdbfe844f224a1cd689d6a (diff) | |
download | shiboken-5bfe40a435b49cf23aac247d1f6336def879ee71.tar.gz shiboken-5bfe40a435b49cf23aac247d1f6336def879ee71.tar.xz shiboken-5bfe40a435b49cf23aac247d1f6336def879ee71.zip |
Avoid compiler warning about unhandled constant in switch block.
-rw-r--r-- | tests/libsample/expression.cpp | 3 |
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(); |