@@ -873,12 +873,14 @@ namespace: (OFString*)attributeNS { OFXMLAttribute **objects; size_t i, count; - if (attributeNS == nil) - return [self removeAttributeForName: attributeName]; + if (attributeNS == nil) { + [self removeAttributeForName: attributeName]; + return; + } objects = [_attributes objects]; count = [_attributes count]; for (i = 0; i < count; i++) {