]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 28 Feb 2015 22:18:22 +0000 (22:18 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 28 Feb 2015 22:18:22 +0000 (22:18 +0000)
MagickCore/xml-tree.c

index 112219cf403853685e04903643f7506b5cbf8e92..5b71e31fc51db102f3a289b826f3fb714c64007e 100644 (file)
@@ -2805,9 +2805,7 @@ MagickExport char *XMLTreeInfoToXML(XMLTreeInfo *xml_info)
         p=root->processing_instructions[i][j];
       }
     }
-  ordered=(XMLTreeInfo *) NULL;
-  if (xml_info != (XMLTreeInfo *) NULL)
-    ordered=xml_info->ordered;
+  ordered=xml_info->ordered;
   xml_info->parent=(XMLTreeInfo *) NULL;
   xml_info->ordered=(XMLTreeInfo *) NULL;
   xml=XMLTreeTagToXML(xml_info,&xml,&length,&extent,0,root->attributes);