Update OpenDDLParser.cpp
parent
177304bb7c
commit
e1052f421b
|
@ -527,9 +527,7 @@ char *OpenDDLParser::parseName(char *in, char *end, Name **name) {
|
||||||
in = parseIdentifier(in, end, &id);
|
in = parseIdentifier(in, end, &id);
|
||||||
if (id) {
|
if (id) {
|
||||||
currentName = new Name(ntype, id);
|
currentName = new Name(ntype, id);
|
||||||
if (currentName) {
|
*name = currentName;
|
||||||
*name = currentName;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return in;
|
return in;
|
||||||
|
|
Loading…
Reference in New Issue