aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/result/stringresult.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2018-02-24 17:06:10 +0100
committerRenaud G <renaud@rolisteam.org>2018-02-24 17:06:10 +0100
commitff78f313abd4839b77f17255b79dd4499bce0512 (patch)
treebca17428464e6184a34f382bf28b3c3204b16519 /result/stringresult.cpp
parent4eeb6ff50f3153c3e139507d99efdf2bc1b9314c (diff)
downloadOneRoll-ff78f313abd4839b77f17255b79dd4499bce0512.tar.gz
OneRoll-ff78f313abd4839b77f17255b79dd4499bce0512.zip
-remove warnings
Diffstat (limited to 'result/stringresult.cpp')
-rw-r--r--result/stringresult.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/result/stringresult.cpp b/result/stringresult.cpp
index 55df6a8..2d9214d 100644
--- a/result/stringresult.cpp
+++ b/result/stringresult.cpp
@@ -43,9 +43,9 @@ QVariant StringResult::getResult(RESULT_TYPE type)
case SCALAR:
return getText().toInt();
break;
-
+ default:
+ return QVariant();
}
- return QVariant();
}
QString StringResult::toString(bool wl)
{