Skip to content

Commit

Permalink
Remove unused variable utr
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason W Bacon authored and Jason W Bacon committed May 18, 2021
1 parent 29ff30a commit 844e802
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions peak-classifier.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,7 @@ void gff_process_subfeatures(FILE *gff_stream, FILE *bed_stream,
gff_feature_t subfeature = GFF_INIT;
bed_feature_t bed_feature = BED_INIT;
bool first_exon = true,
exon,
utr;
exon;
uint64_t intron_start,
intron_end;
char *feature,
Expand All @@ -325,7 +324,6 @@ void gff_process_subfeatures(FILE *gff_stream, FILE *bed_stream,
{
feature = GFF_NAME(&subfeature);
exon = (strcmp(feature, "exon") == 0);
utr = (strstr(feature, "UTR") != NULL);

// mRNA or lnc_RNA mark the start of a new set of exons
if ( (strstr(subfeature.name, "RNA") != NULL) ||
Expand Down

0 comments on commit 844e802

Please sign in to comment.