Skip to content

Commit eef0ab5

Browse files
committed
Fix a typo, prevent a warning
1 parent d9f1262 commit eef0ab5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vcfannotate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ void khash_str2int_clear_free(void *_hash)
807807
}
808808
static int setter_info_str(args_t *args, bcf1_t *line, annot_col_t *col, void *data)
809809
{
810-
if ( col->replace==REPLACE_MISSING && !col->number==BCF_VL_A && !col->number==BCF_VL_R )
810+
if ( col->replace==REPLACE_MISSING && col->number!=BCF_VL_A && col->number!=BCF_VL_R )
811811
{
812812
int ret = bcf_get_info_string(args->hdr, line, col->hdr_key_dst, &args->tmps2, &args->mtmps2);
813813
if ( ret>0 && (args->tmps2[0]!='.' || args->tmps2[1]!=0) ) return 0;

0 commit comments

Comments
 (0)