@@ -906,7 +906,6 @@ public func checkOneLevelOfRandomAccessCollection<
906906  //===------------------------------------------------------------------===//
907907
908908  let  succ  =  {  collection. index ( after:  $0)  } 
909-   let  pred  =  {  collection. index ( before:  $0)  } 
910909  // Advances up to 1 positions without passing endIndex.  Don't use
911910  // advanced(by: n) to do this because it's under test here.
912911  let  next  =  {  $0 ==  collection. endIndex ?  $0 :  succ ( $0)  } 
@@ -924,7 +923,6 @@ public func checkOneLevelOfRandomAccessCollection<
924923  let  count :  Distance   =  collection. count
925924  let  offset0  =  min ( 5 ,  count) 
926925  let  offset1  =  min ( 10 ,  count) 
927-   let  offset2  =  min ( 15 ,  count) 
928926
929927  let  distanceCandidates :  [ Distance ]  =  [ 
930928    - 11 ,  - 7 ,  - 5 ,  - 3 ,  - 2 ,  - 1 ,  0 ,  1 ,  2 ,  3 ,  5 ,  7 ,  11 ] 
@@ -1676,7 +1674,6 @@ public func checkOneLevelOfRandomAccessCollection<
16761674  //===------------------------------------------------------------------===//
16771675
16781676  let  succ  =  {  collection. index ( after:  $0)  } 
1679-   let  pred  =  {  collection. index ( before:  $0)  } 
16801677  // Advances up to 1 positions without passing endIndex.  Don't use
16811678  // advanced(by: n) to do this because it's under test here.
16821679  let  next  =  {  $0 ==  collection. endIndex ?  $0 :  succ ( $0)  } 
@@ -1694,7 +1691,6 @@ public func checkOneLevelOfRandomAccessCollection<
16941691  let  count :  Distance   =  collection. count
16951692  let  offset0  =  min ( 5 ,  count) 
16961693  let  offset1  =  min ( 10 ,  count) 
1697-   let  offset2  =  min ( 15 ,  count) 
16981694
16991695  let  distanceCandidates :  [ Distance ]  =  [ 
17001696    - 11 ,  - 7 ,  - 5 ,  - 3 ,  - 2 ,  - 1 ,  0 ,  1 ,  2 ,  3 ,  5 ,  7 ,  11 ] 
@@ -1871,7 +1867,7 @@ public func checkRangeReplaceable<C, N>(
18711867  let  source  =  Array < A . Element > ( makeCollection ( ) ) 
18721868
18731869  for  (ix,  i)    in  source. indices. enumerated ( )  { 
1874-     for  (jx_,  j )    in  ( i..< source. endIndex) . enumerated ( )  { 
1870+     for  (jx_,  _ )    in  ( i..< source. endIndex) . enumerated ( )  { 
18751871      let  jx  =  jx_ +  ix
18761872
18771873      let  oldCount  =  jx -  ix
0 commit comments