mac/type: change never mutated variable to let

This commit is contained in:
der richter 2024-10-31 00:10:58 +01:00
parent c80757d782
commit 91d4e6f937
1 changed files with 1 additions and 1 deletions

View File

@ -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])
}