Skip to content

Commit

Permalink
Remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bwetherfield committed Nov 2, 2019
1 parent 8b99000 commit 0222d24
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Sources/XMLCoder/Decoder/XMLKeyedDecodingContainer.swift
Expand Up @@ -249,11 +249,8 @@ extension XMLKeyedDecodingContainer {
return []
}
} else {
#warning("TODO: just return keyedBox.elements[key.stringValue]")
return keyedBox.elements[key.stringValue].map {
if let singleKeyed = $0 as? SingleKeyedBox {
#warning("Don't get rid of key info just yet!")
// return singleKeyed.element
return singleKeyed
} else {
return $0
Expand Down

0 comments on commit 0222d24

Please sign in to comment.