diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-06-06 11:40:25 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:15:25 -0300 |
commit | 0bc3c52678a2b86850c9342d60c975a9cc958cac (patch) | |
tree | f3c796beb43f296e1ace4682038096b417f82b9c /tests/libsample/expression.cpp | |
parent | e3c2d6c3fae088185ab83e19a65190e28120a3ee (diff) |
Removed warning about possible use of uninitialized variable.
Diffstat (limited to 'tests/libsample/expression.cpp')
-rw-r--r-- | tests/libsample/expression.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/libsample/expression.cpp b/tests/libsample/expression.cpp index f6eedaa77..bead4c16d 100644 --- a/tests/libsample/expression.cpp +++ b/tests/libsample/expression.cpp @@ -120,6 +120,7 @@ std::string Expression::toString() const break; case None: // just to avoid the compiler warning default: + op = '?'; break; } result += op; |