1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

Avoid Double Null Check

Cleanup
For https://bugzilla.gnome.org/show_bug.cgi?id=729851
This commit is contained in:
Gaurav
2014-05-09 16:52:32 +08:00
committed by Daniel Veillard
parent 9cd1c3cfbd
commit 41b0d1c4e5

View File

@ -5709,8 +5709,6 @@ xmlAutomataNewTransition(xmlAutomataPtr am, xmlAutomataStatePtr from,
if (atom == NULL)
return(NULL);
atom->data = data;
if (atom == NULL)
return(NULL);
atom->valuep = xmlStrdup(token);
if (xmlFAGenerateTransitions(am, from, to, atom) < 0) {