File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -870,7 +870,6 @@ void BamAlignment::RemoveTag(const std::string& tag)
870
870
char * pOriginalTagData = (char *)TagData.data ();
871
871
char * pTagData = pOriginalTagData;
872
872
const unsigned int originalTagDataLength = TagData.size ();
873
- unsigned int newTagDataLength = 0 ;
874
873
unsigned int numBytesParsed = 0 ;
875
874
876
875
// skip if tag not found
@@ -885,7 +884,6 @@ void BamAlignment::RemoveTag(const std::string& tag)
885
884
pTagData -= 3 ;
886
885
numBytesParsed -= 3 ;
887
886
const unsigned int beginningTagDataLength = numBytesParsed;
888
- newTagDataLength += beginningTagDataLength;
889
887
std::memcpy (newTagData.Buffer , pOriginalTagData, numBytesParsed);
890
888
891
889
// attemp to skip to next tag
Original file line number Diff line number Diff line change @@ -175,7 +175,6 @@ bool Fasta::FastaPrivate::CreateIndex(const std::string& indexFilename)
175
175
}
176
176
177
177
// iterate through fasta entries
178
- int currentId = 0 ;
179
178
std::string header;
180
179
std::string sequence;
181
180
while (GetNextHeader (header)) {
@@ -207,9 +206,6 @@ bool Fasta::FastaPrivate::CreateIndex(const std::string& indexFilename)
207
206
208
207
// store index entry
209
208
Index.push_back (data);
210
-
211
- // update ref Id
212
- ++currentId;
213
209
}
214
210
215
211
// open index file
You can’t perform that action at this time.
0 commit comments