refactor: remove pointless optimisation

This commit is contained in:
Matthias Radestock
2017-06-04 10:36:55 +01:00
parent 06bb5157f8
commit ff4a4c08ce
-4
View File
@@ -63,10 +63,6 @@ func ColorConnected(r Renderer) Renderer {
void := struct{}{}
for id, node := range input {
if len(node.Adjacency) == 0 {
continue
}
for _, adj := range node.Adjacency {
if adj != id {
connected[id] = void