]> Cypherpunks.ru repositories - goredo.git/commitdiff
Remove useless check
authorSergey Matveev <stargrave@stargrave.org>
Mon, 2 Oct 2023 09:14:20 +0000 (12:14 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Mon, 2 Oct 2023 11:08:15 +0000 (14:08 +0300)
ifchange.go

index bfe65f1d6468c6e163825d29b7a866f4a68104d4..77d6d93dccc01459b3950d18c7819d22f5729519 100644 (file)
@@ -133,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)