Skip to content

Commit b0f46de

Browse files
committed
Fix unused var warning in benchmark
1 parent edc7109 commit b0f46de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmark/single-source/ObjectiveCBridging.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ public func run_BridgedNSDictionaryEnumerate(_ n: Int) {
855855
public func run_BridgedNSArrayBufferAccess(_ n: Int) {
856856
#if _runtime(_ObjC)
857857
for _ in 0 ..< n {
858-
for i in 0..<1000 {
858+
for _ in 0..<1000 {
859859
let tmp = nsArray as! [NSObject]
860860
blackHole(tmp)
861861
blackHole(tmp.withContiguousStorageIfAvailable {
@@ -872,7 +872,7 @@ public func run_BridgedNSArrayRepeatedBufferAccess(_ n: Int) {
872872
for _ in 0 ..< n {
873873
let tmp = nsArray as! [NSObject]
874874
blackHole(tmp)
875-
for i in 0..<1000 {
875+
for _ in 0..<1000 {
876876
blackHole(tmp.withContiguousStorageIfAvailable {
877877
$0[0]
878878
})

0 commit comments

Comments
 (0)