From 0bc3c52678a2b86850c9342d60c975a9cc958cac Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Mon, 6 Jun 2011 11:40:25 -0300 Subject: Removed warning about possible use of uninitialized variable. --- tests/libsample/expression.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/libsample') 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; -- cgit v1.2.3