Differences From Artifact [4b9f82311d]:
- File
tests/OFArrayTests.m
— part of check-in
[e8473b9db8]
at
2013-03-08 22:44:07
on branch trunk
— Document the block types.
This also removes "bool *stop" from some blocks where it does not make
sense. (user: js, size: 8890) [annotate] [blame] [check-ins using]
To Artifact [c4b233b4a6]:
- File
tests/OFArrayTests.m
— part of check-in
[6143baaaee]
at
2013-07-10 12:33:37
on branch trunk
— Get rid of a new Clang warning.
Clang now warns if the enumeration variable of a fast enumeration is not
used. (user: js, size: 8904) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 | [m[0] replaceObjectAtIndex: 2 withObject: c_ary[2]]; ok = false; i = 0; @try { for (OFString *s in m[0]) { if (i == 0) [m[0] addObject: @""]; i++; } } @catch (OFEnumerationMutationException *e) { ok = true; } TEST(@"Detection of mutation during Fast Enumeration", ok) | > > > | 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 | [m[0] replaceObjectAtIndex: 2 withObject: c_ary[2]]; ok = false; i = 0; @try { for (OFString *s in m[0]) { (void)s; if (i == 0) [m[0] addObject: @""]; i++; } } @catch (OFEnumerationMutationException *e) { ok = true; } TEST(@"Detection of mutation during Fast Enumeration", ok) |
︙ | ︙ |