mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-30 22:43:14 +03:00
Avoid Double Null Check
Cleanup For https://bugzilla.gnome.org/show_bug.cgi?id=729851
This commit is contained in:
@ -5709,8 +5709,6 @@ xmlAutomataNewTransition(xmlAutomataPtr am, xmlAutomataStatePtr from,
|
|||||||
if (atom == NULL)
|
if (atom == NULL)
|
||||||
return(NULL);
|
return(NULL);
|
||||||
atom->data = data;
|
atom->data = data;
|
||||||
if (atom == NULL)
|
|
||||||
return(NULL);
|
|
||||||
atom->valuep = xmlStrdup(token);
|
atom->valuep = xmlStrdup(token);
|
||||||
|
|
||||||
if (xmlFAGenerateTransitions(am, from, to, atom) < 0) {
|
if (xmlFAGenerateTransitions(am, from, to, atom) < 0) {
|
||||||
|
Reference in New Issue
Block a user