From 41b0d1c4e53dcec2a0206df4bedaad0f81234319 Mon Sep 17 00:00:00 2001 From: Gaurav Date: Fri, 9 May 2014 16:52:32 +0800 Subject: Avoid Double Null Check Cleanup For https://bugzilla.gnome.org/show_bug.cgi?id=729851 --- xmlregexp.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'xmlregexp.c') diff --git a/xmlregexp.c b/xmlregexp.c index 8e63d74a..3e912ab9 100644 --- a/xmlregexp.c +++ b/xmlregexp.c @@ -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) { -- cgit v1.2.1