aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/parsingtoolbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parsingtoolbox.cpp')
-rw-r--r--parsingtoolbox.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/parsingtoolbox.cpp b/parsingtoolbox.cpp
index f6b1f12..2d26d79 100644
--- a/parsingtoolbox.cpp
+++ b/parsingtoolbox.cpp
@@ -75,7 +75,6 @@ Validator* ParsingToolBox::readValidator(QString& str)
{
Validator* returnVal=NULL;
bool expectSquareBrasket=false;
- bool isOk = true;
if((str.startsWith("[")))
{
str=str.remove(0,1);
@@ -83,11 +82,13 @@ Validator* ParsingToolBox::readValidator(QString& str)
}
BooleanCondition::LogicOperator myLogicOp = BooleanCondition::Equal;
- bool hasReadLogicOperator = readLogicOperator(str,myLogicOp);
+ //bool hasReadLogicOperator =
+ readLogicOperator(str,myLogicOp);
int value=0;
if(readNumber(str,value))
{
+ bool isOk = true;
if(str.startsWith("-"))
{
str=str.remove(0,1);