aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/variablenode.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 /node/variablenode.cpp
parent4eeb6ff50f3153c3e139507d99efdf2bc1b9314c (diff)
downloadOneRoll-ff78f313abd4839b77f17255b79dd4499bce0512.tar.gz
OneRoll-ff78f313abd4839b77f17255b79dd4499bce0512.zip
-remove warnings
Diffstat (limited to 'node/variablenode.cpp')
-rw-r--r--node/variablenode.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/node/variablenode.cpp b/node/variablenode.cpp
index f202246..9963af9 100644
--- a/node/variablenode.cpp
+++ b/node/variablenode.cpp
@@ -8,13 +8,6 @@ VariableNode::VariableNode()
void VariableNode::run(ExecutionNode *previous)
{
m_previousNode = previous;
-
- if(m_index<0)
- {
- m_errors.insert(INVALID_INDEX,QObject::tr("Invalid index must be greater than 0 :%1").arg(m_index));
- return;
- }
-
if(m_data->size()>m_index)
{
auto value= (*m_data)[m_index];