Skip to content

Commit 90c6c49

Browse files
authored
[gardening] Silence a warning about unused value
1 parent 2dd7470 commit 90c6c49

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

stdlib/public/core/KeyPath.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3235,7 +3235,6 @@ internal struct InstantiateKeyPathBuffer: KeyPathPatternVisitor {
32353235
mutating func pushDest<T>(_ value: T) {
32363236
_internalInvariant(_isPOD(T.self))
32373237
let size = MemoryLayout<T>.size
3238-
let alignment = MemoryLayout<T>.alignment
32393238
let (baseAddress, misalign) = adjustDestForAlignment(of: T.self)
32403239
withUnsafeBytes(of: value) {
32413240
_memcpy(dest: baseAddress, src: $0.baseAddress.unsafelyUnwrapped,

0 commit comments

Comments
 (0)