Browse Source

HPCC-16416 Remove extra semicolon following an if ()

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 8 years ago
parent
commit
3124fd7b36
1 changed files with 1 additions and 1 deletions
  1. 1 1
      configuration/configurator/schemas/SchemaCommon.cpp

+ 1 - 1
configuration/configurator/schemas/SchemaCommon.cpp

@@ -367,7 +367,7 @@ bool CXSDBuiltInDataType::checkConstraint(const char *pValue) const
             const char key[] = "\n\r\t";
             if (strpbrk(pValue, key) != nullptr)
                 return false;
-            if (pValue[0] == ' ' || pValue[strlen(pValue)-1] == ' ' || strstr(pValue, "  ")); // leading/trailing space multiple spaces
+            if (pValue[0] == ' ' || pValue[strlen(pValue)-1] == ' ' || strstr(pValue, "  ")) // leading/trailing space multiple spaces
                 return false;
         }
         else if(XSD_DT_DATE == eNodeType)