Remove unused variable

This commit is contained in:
Christoph Hagen 2022-09-25 17:24:03 +02:00
parent f2ee06b1d7
commit 756629d2dc

View File

@ -643,7 +643,6 @@ extension Element {
}
func findParent(from root: Element) -> Element? {
let parts = pathComponents.dropLast()
var node = root
for part in pathComponents.dropLast() {
guard let child = node.find(elementWithFolder: part) else {