@@ -876,7 +876,6 @@ static void BWTIncBuildRelativeRank(bgint_t* __restrict sortedRank, bgint_t* __r
876
876
bgint_t i , c ;
877
877
bgint_t s , r ;
878
878
bgint_t lastRank , lastIndex ;
879
- bgint_t oldInverseSa0RelativeRank = 0 ;
880
879
bgint_t freq ;
881
880
882
881
lastIndex = numItem ;
@@ -887,7 +886,6 @@ static void BWTIncBuildRelativeRank(bgint_t* __restrict sortedRank, bgint_t* __r
887
886
s = seq [numItem ];
888
887
relativeRank [s ] = numItem ;
889
888
if (lastRank == oldInverseSa0 ) {
890
- oldInverseSa0RelativeRank = numItem ;
891
889
oldInverseSa0 ++ ; // so that this segment of code is not run again
892
890
lastRank ++ ; // so that oldInverseSa0 become a sorted group with 1 item
893
891
}
@@ -920,7 +918,6 @@ static void BWTIncBuildRelativeRank(bgint_t* __restrict sortedRank, bgint_t* __r
920
918
lastRank = r ;
921
919
relativeRank [s ] = i ;
922
920
if (r == oldInverseSa0 ) {
923
- oldInverseSa0RelativeRank = i ;
924
921
oldInverseSa0 ++ ; // so that this segment of code is not run again
925
922
lastRank ++ ; // so that oldInverseSa0 become a sorted group with 1 item
926
923
}
@@ -950,15 +947,12 @@ static void BWTIncBuildBwt(unsigned int* insertBwt, const bgint_t *relativeRank,
950
947
static void BWTIncMergeBwt (const bgint_t * sortedRank , const unsigned int * oldBwt , const unsigned int * insertBwt ,
951
948
unsigned int * __restrict mergedBwt , const bgint_t numOldBwt , const bgint_t numInsertBwt )
952
949
{
953
- unsigned int bitsInWordMinusBitPerChar ;
954
950
bgint_t leftShift , rightShift ;
955
951
bgint_t o ;
956
952
bgint_t oIndex , iIndex , mIndex ;
957
953
bgint_t mWord , mChar , oWord , oChar ;
958
954
bgint_t numInsert ;
959
955
960
- bitsInWordMinusBitPerChar = BITS_IN_WORD - BIT_PER_CHAR ;
961
-
962
956
oIndex = 0 ;
963
957
iIndex = 0 ;
964
958
mIndex = 0 ;
0 commit comments