projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0023947: Eliminate trivial compiler warnings in MSVC++ with warning level 4
[occt.git]
/
src
/
XmlObjMgt
/
XmlObjMgt.cxx
diff --git
a/src/XmlObjMgt/XmlObjMgt.cxx
b/src/XmlObjMgt/XmlObjMgt.cxx
index
86c8ed2
..
802c8b0
100755
(executable)
--- a/
src/XmlObjMgt/XmlObjMgt.cxx
+++ b/
src/XmlObjMgt/XmlObjMgt.cxx
@@
-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;