]> Cypherpunks.ru repositories - goredo.git/blobdiff - ifchange.go
Remove duplicate check
[goredo.git] / ifchange.go
index 84bd2607bafad1011c23f908f27a0d7a62e17561..77d6d93dccc01459b3950d18c7819d22f5729519 100644 (file)
@@ -58,9 +58,6 @@ func collectDeps(
                }
        }
        for _, dep := range depInfo.ifchanges {
-               if dep.tgt == "" {
-                       return alwayses
-               }
                if dep.tgt == tgt {
                        continue
                }
@@ -136,9 +133,6 @@ func buildDependants(tgts []string) map[string]struct{} {
        for tgt := range seen {
                queueSrc = append(queueSrc, tgt)
        }
-       if len(queueSrc) == 0 {
-               return seen
-       }
 
 RebuildDeps:
        tracef(CDebug, "checking %d dependant targets: %v", len(queueSrc), queueSrc)