Fix for what appears to be a typo (seq_prev is always NULL) - found while
reviewing the latest Clang reports
This commit is contained in:
@@ -4268,8 +4268,8 @@ static void freeSeqData(TransInfo *t)
|
|||||||
{
|
{
|
||||||
int overlap = 0;
|
int overlap = 0;
|
||||||
|
|
||||||
|
seq_prev = NULL;
|
||||||
for (a = 0; a < t->total; a++, td++) {
|
for (a = 0; a < t->total; a++, td++) {
|
||||||
seq_prev = NULL;
|
|
||||||
seq = ((TransDataSeq *)td->extra)->seq;
|
seq = ((TransDataSeq *)td->extra)->seq;
|
||||||
if ((seq != seq_prev) && (seq->depth == 0) && (seq->flag & SEQ_OVERLAP)) {
|
if ((seq != seq_prev) && (seq->depth == 0) && (seq->flag & SEQ_OVERLAP)) {
|
||||||
overlap = 1;
|
overlap = 1;
|
||||||
|
Reference in New Issue
Block a user