mirror of https://github.com/mpv-player/mpv
mac/type: change never mutated variable to let
This commit is contained in:
parent
c80757d782
commit
91d4e6f937
|
@ -125,7 +125,7 @@ class TypeHelper {
|
|||
let values = list.values else { return dict }
|
||||
|
||||
for index in 0..<Int(list.num) {
|
||||
guard var keyPtr = list.keys?[index] else { continue }
|
||||
guard let keyPtr = list.keys?[index] else { continue }
|
||||
let key = String(cString: keyPtr)
|
||||
dict[key] = TypeHelper.nodeToAny(values[index])
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue