From 16437fece4208f299972a5f7e3fc04b2d4402334 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 25 Oct 2011 13:30:44 +0200 Subject: Small optimization of dependency sorting --- elf/dl-deps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elf/dl-deps.c') diff --git a/elf/dl-deps.c b/elf/dl-deps.c index 7fa4d69..95b1088 100644 --- a/elf/dl-deps.c +++ b/elf/dl-deps.c @@ -627,7 +627,7 @@ Filters not supported with LD_TRACE_PRELINKING")); while (1) { /* Keep track of which object we looked at this round. */ - seen[i] += seen[i] < 2; + ++seen[i]; struct link_map *thisp = l_initfini[i]; /* Find the last object in the list for which the current one is -- cgit v1.1