Remove unused variable
This commit is contained in:
parent
f2ee06b1d7
commit
756629d2dc
@ -643,7 +643,6 @@ extension Element {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func findParent(from root: Element) -> Element? {
|
func findParent(from root: Element) -> Element? {
|
||||||
let parts = pathComponents.dropLast()
|
|
||||||
var node = root
|
var node = root
|
||||||
for part in pathComponents.dropLast() {
|
for part in pathComponents.dropLast() {
|
||||||
guard let child = node.find(elementWithFolder: part) else {
|
guard let child = node.find(elementWithFolder: part) else {
|
||||||
|
Loading…
Reference in New Issue
Block a user