Explorar o código

HPCC-16416 Remove extra semicolon following an if ()

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday %!s(int64=8) %!d(string=hai) anos
pai
achega
3124fd7b36
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)