Skip to content

Commit

Permalink
Minor: do not print warning about renaming filters when the names are…
Browse files Browse the repository at this point in the history
… identical
  • Loading branch information
pd3 committed Dec 2, 2016
1 parent 654dcc9 commit 7068770
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vcffilter.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ static void init_data(args_t *args)
if ( tmp.s ) kputs(" and ", &tmp);
kputs("\"IndelGap\"", &tmp);
}
fprintf(stderr,"Warning: using %s filter name instead of \"%s\"\n", tmp.s,args->soft_filter);
if ( strncmp(tmp.s+1,args->soft_filter,tmp.l-2) )
fprintf(stderr,"Warning: using %s filter name instead of \"%s\"\n", tmp.s,args->soft_filter);
free(tmp.s);
}

Expand Down

0 comments on commit 7068770

Please sign in to comment.