0023947: Eliminate trivial compiler warnings in MSVC++ with warning level 4
[occt.git] / src / XmlObjMgt / XmlObjMgt.cxx
index 86c8ed2..802c8b0 100755 (executable)
@@ -239,7 +239,7 @@ void XmlObjMgt::SetTagEntryString (XmlObjMgt_DOMString&           theTarget,
   memcpy (aTarget, aRefPrefix, sizeof (aRefPrefix) - 1);
   char * aTargetPtr = aTarget + (sizeof (aRefPrefix) - 1);
 
-  while (1) {
+  for(;;) {
     //  Check for the end-of-string; find the delimeter ':'
     aPtr = strchr (aTagEntry, ':');
     if (aPtr == NULL) break;