Overview
| Comment: | Get rid of useless variables. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
01f12ed5e2cf692b55c0f78ee822c237 |
| User & Date: | js on 2011-04-23 21:19:41 |
| Other Links: | manifest | tags |
Context
|
2011-04-23
| ||
| 22:26 | Minor style improvements. (check-in: a0f0c381b2 user: js tags: trunk) | |
| 21:19 | Get rid of useless variables. (check-in: 01f12ed5e2 user: js tags: trunk) | |
| 17:52 | More style improvements. (check-in: 5085342127 user: js tags: trunk) | |
Changes
Modified src/OFXMLParser.m from [130441ad5f] to [ae63c6543c].
| ︙ | ︙ | |||
67 68 69 70 71 72 73 | return tmp; } return nil; } static OF_INLINE void | | | | 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
return tmp;
}
return nil;
}
static OF_INLINE void
resolve_attribute_namespace(OFXMLAttribute *attribute, OFArray *namespaces,
Class isa)
{
OFString *attributeNS;
OFString *attributePrefix = attribute->ns;
if (attributePrefix == nil)
return;
|
| ︙ | ︙ | |||
670 671 672 673 674 675 676 | ns = namespace_for_prefix(prefix, namespaces); if (prefix != nil && ns == nil) @throw [OFUnboundNamespaceException newWithClass: isa prefix: prefix]; for (j = 0; j < attributesCount; j++) | | | | 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 | ns = namespace_for_prefix(prefix, namespaces); if (prefix != nil && ns == nil) @throw [OFUnboundNamespaceException newWithClass: isa prefix: prefix]; for (j = 0; j < attributesCount; j++) resolve_attribute_namespace(attributesCArray[j], namespaces, isa); pool = [[OFAutoreleasePool alloc] init]; #if defined(OF_HAVE_PROPERTIES) && defined(OF_HAVE_BLOCKS) if (elementStartHandler != NULL) elementStartHandler(self, name, prefix, ns, attributes); else |
| ︙ | ︙ |