I see what you mean. I think the if() is there simply because the original author did not know that "delete 0" is actually a valid statement (and a no-op). As far as I can tell from the documentation of `XMLPlatformUtils::Initialize()` and `XMLPlatformUtils::Terminate()` they are reference counted. I could cleanup also the other ifs (maybe in a different PR). The reason why this was cleaned up and not the others is that it was done by hand while the others with a perl regexp.