Overview
Comment: | OFMutableAdjacentArray: Fix shadowing of variable |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
3cf82a5618d709d2950e0df373e89855 |
User & Date: | js on 2022-06-13 14:46:13 |
Other Links: | manifest | tags |
Context
2022-06-13
| ||
20:37 | Fix -[OFHTTPRequest copy] check-in: 9b38dfc914 user: js tags: trunk | |
14:46 | OFMutableAdjacentArray: Fix shadowing of variable check-in: 3cf82a5618 user: js tags: trunk | |
2022-06-12
| ||
20:38 | runtime/linklib: Remove spurious ; check-in: 96bd5ebd99 user: js tags: trunk | |
Changes
Modified src/OFMutableAdjacentArray.m from [210f8382ef] to [7ff7f8969c].
︙ | ︙ | |||
160 161 162 163 164 165 166 | @throw [OFInvalidArgumentException exception]; objects = _array.items; count = _array.count; for (size_t i = 0; i < count; i++) { if ([objects[i] isEqual: object]) { | | | | 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 | @throw [OFInvalidArgumentException exception]; objects = _array.items; count = _array.count; for (size_t i = 0; i < count; i++) { if ([objects[i] isEqual: object]) { id tmp = objects[i]; [_array removeItemAtIndex: i]; _mutations++; [tmp release]; objects = _array.items; i--; count--; continue; } } |
︙ | ︙ |