diff --git a/source/ps/Parser.cpp b/source/ps/Parser.cpp index b25c441687..af970fd5b3 100755 --- a/source/ps/Parser.cpp +++ b/source/ps/Parser.cpp @@ -114,13 +114,13 @@ _bool CParserValue::GetBool(_bool &ret) _bool CParserValue::GetDouble(_double &ret) { // locals - _double TempRet = 0.0; + _double TempRet = 0.0; _int Size = m_String.size(); _int i; - _bool AtLeastOne = false; // Checked if at least one of the loops + _bool AtLeastOne = false; // Checked if at least one of the loops // run, otherwise "." would parse OK _int DecimalPos; - _bool Negative = false; // "-" is found + _bool Negative = false; // "-" is found // Check if '-' is found if (m_String[0]=='-') @@ -304,11 +304,12 @@ _bool CParserLine::ParseString(const CParser& Parser, string strLine) // Locals _bool Extract=false; - _int ExtractPos=0; + _int ExtractPos=0; _char Buffer[256]; _char Letter[] = {'\0','\0'}; // Letter as string vector Segments; string strSub; + _int i; // Set result to false, then if a match is found, turn it true m_ParseOK = false; @@ -325,7 +326,7 @@ _bool CParserLine::ParseString(const CParser& Parser, string strLine) // Divide string into smaller vectors, seperators are unusual signs // * * * * - for (_int i=0; i