From ceba02a39c76f91d28d697efefee1a7ceac81099 Mon Sep 17 00:00:00 2001 From: Steve Linton Date: Wed, 13 Jan 2016 13:00:11 +0000 Subject: [PATCH] Remove some code that cannot be reached. --- lib/coll.gi | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/lib/coll.gi b/lib/coll.gi index b2393dc053d..76939d0a3f5 100644 --- a/lib/coll.gi +++ b/lib/coll.gi @@ -2932,18 +2932,13 @@ InstallGlobalFunction(Union, function(arg) r := ranges[i]; if r[2] -r[1] > stride then # - # passed all the stuff with matching stride, leave to the more complex + # passed all the stuff with matching stride, leave the rest to the more complex # code # rstart := i; break; fi; - if stride > 1 and (r[1] - min) mod stride <> 0 then - # - # Out of phase - # - continue; - fi; + # if we were out of phase we'd have failed the inclusion check above if r[1] > minNeeded then # # leaves a hole @@ -2969,9 +2964,6 @@ InstallGlobalFunction(Union, function(arg) return goal; fi; - - - # Finally then, we are in a case where we really need to be clever, so # We keep track of the points in goal we haven't seen yet as we run through the ranges