I noticed that Operation.swift on the master branch has a big change compared with swift-5.0-RELEASE.
For this part of code snippet
internal func _addOperations(_ ops: [Operation], barrier: Bool = false) { if ops.isEmpty { return } var failures = 0 var successes = 0 var firstNewOp: Unmanaged<Operation>? var lastNewOp: Unmanaged<Operation>? for op in ops { if op._compareAndSwapState(.initialized, .enqueuing) { successes += 1
I am curious about why creating a variable success here? It does not be used later or anywhere else. Or the code in the master branch is in the 'in-progress' status?