From e1052f421b18a96eb71fc45137bc2398615aae81 Mon Sep 17 00:00:00 2001 From: ihsinme <61293369+ihsinme@users.noreply.github.com> Date: Wed, 6 Jan 2021 16:52:28 +0300 Subject: [PATCH] Update OpenDDLParser.cpp --- contrib/openddlparser/code/OpenDDLParser.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/contrib/openddlparser/code/OpenDDLParser.cpp b/contrib/openddlparser/code/OpenDDLParser.cpp index ca535a780..024c26f41 100644 --- a/contrib/openddlparser/code/OpenDDLParser.cpp +++ b/contrib/openddlparser/code/OpenDDLParser.cpp @@ -527,9 +527,7 @@ char *OpenDDLParser::parseName(char *in, char *end, Name **name) { in = parseIdentifier(in, end, &id); if (id) { currentName = new Name(ntype, id); - if (currentName) { - *name = currentName; - } + *name = currentName; } return in;