Skip to content

Commit 46750f6

Browse files
committed
add small comment about removing the build string comparison
1 parent 970836d commit 46750f6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/policy.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,6 +1184,7 @@ prune_to_best_version_conda(Pool *pool, Queue *plist)
11841184
r = (best->repo ? best->repo->subpriority : 0) - (s->repo ? s->repo->subpriority : 0);
11851185
if (r == 0)
11861186
r = pool_buildversioncmp(pool, best, s);
1187+
// this can be removed as this comparison doesn't effect anything
11871188
if (r == 0)
11881189
r = pool_buildflavorcmp(pool, best, s);
11891190
if (r < 0)

0 commit comments

Comments
 (0)