Skip to content

Commit c8ce274

Browse files
committed
Add assignation to remove warning
1 parent 0b7a1f2 commit c8ce274

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Breadth-First Search/Tests/Graph.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public class Graph: CustomStringConvertible, Equatable {
8686
let duplicated = Graph()
8787

8888
for node in nodes {
89-
duplicated.addNode(node.label)
89+
let _ = duplicated.addNode(node.label)
9090
}
9191

9292
for node in nodes {

0 commit comments

Comments
 (0)