2026-05-31 21:20 ftp://ftp.de.debian.org/debian/pool/main/b/bcftools/bcftools_1.22.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.12.88+deb13-amd64-x86_64-with-glibc2.41 python: 3.12.13 client-version: 1.4.0 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.20.0 head-info: 8c14fc7 (2026-05-31 09:56:45 +0200) count: 2103 1969 elapsed-time: 40.9 39.0 head-timing-info: old-timing-info: head results: bcftools-1.22/HMM.c:95:5: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [nullPointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:135:21: note: Calling function 'hmm_init_states', 1st argument 'hmm' value is 0 bcftools-1.22/HMM.c:95:5: note: Null pointer dereference bcftools-1.22/HMM.c:95:29: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [nullPointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:135:21: note: Calling function 'hmm_init_states', 1st argument 'hmm' value is 0 bcftools-1.22/HMM.c:95:29: note: Null pointer dereference bcftools-1.22/HMM.c:97:11: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [nullPointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:135:21: note: Calling function 'hmm_init_states', 1st argument 'hmm' value is 0 bcftools-1.22/HMM.c:97:11: note: Null pointer dereference bcftools-1.22/HMM.c:99:11: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [nullPointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:135:21: note: Calling function 'hmm_init_states', 1st argument 'hmm' value is 0 bcftools-1.22/HMM.c:99:11: note: Null pointer dereference bcftools-1.22/HMM.c:101:11: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [nullPointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:135:21: note: Calling function 'hmm_init_states', 1st argument 'hmm' value is 0 bcftools-1.22/HMM.c:101:11: note: Null pointer dereference bcftools-1.22/HMM.c:104:11: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [nullPointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:135:21: note: Calling function 'hmm_init_states', 1st argument 'hmm' value is 0 bcftools-1.22/HMM.c:104:11: note: Null pointer dereference bcftools-1.22/HMM.c:131:5: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [nullPointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:131:5: note: Null pointer dereference bcftools-1.22/HMM.c:132:5: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [nullPointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:132:5: note: Null pointer dereference bcftools-1.22/HMM.c:133:5: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [nullPointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:133:5: note: Null pointer dereference bcftools-1.22/HMM.c:156:9: warning: If memory allocation fails, then there is a possible null pointer dereference: snapshot [nullPointerOutOfMemory] bcftools-1.22/HMM.c:154:41: note: Assuming allocation function fails bcftools-1.22/HMM.c:154:24: note: Assignment 'mem=(uint8_t*)malloc(str_size+pad_size+dbl_size*2*hmm->nstates)', assigned value is 0 bcftools-1.22/HMM.c:155:18: note: snapshot is assigned '(struct snapshot_t*)mem' here. bcftools-1.22/HMM.c:156:9: note: Null pointer dereference bcftools-1.22/HMM.c:157:9: warning: If memory allocation fails, then there is a possible null pointer dereference: snapshot [nullPointerOutOfMemory] bcftools-1.22/HMM.c:154:41: note: Assuming allocation function fails bcftools-1.22/HMM.c:154:24: note: Assignment 'mem=(uint8_t*)malloc(str_size+pad_size+dbl_size*2*hmm->nstates)', assigned value is 0 bcftools-1.22/HMM.c:155:18: note: snapshot is assigned '(struct snapshot_t*)mem' here. bcftools-1.22/HMM.c:157:9: note: Null pointer dereference bcftools-1.22/HMM.c:158:9: warning: If memory allocation fails, then there is a possible null pointer dereference: snapshot [nullPointerOutOfMemory] bcftools-1.22/HMM.c:154:41: note: Assuming allocation function fails bcftools-1.22/HMM.c:154:24: note: Assignment 'mem=(uint8_t*)malloc(str_size+pad_size+dbl_size*2*hmm->nstates)', assigned value is 0 bcftools-1.22/HMM.c:155:18: note: snapshot is assigned '(struct snapshot_t*)mem' here. bcftools-1.22/HMM.c:158:9: note: Null pointer dereference bcftools-1.22/HMM.c:158:30: warning: If memory allocation fails, then there is a possible null pointer dereference: snapshot [nullPointerOutOfMemory] bcftools-1.22/HMM.c:154:41: note: Assuming allocation function fails bcftools-1.22/HMM.c:154:24: note: Assignment 'mem=(uint8_t*)malloc(str_size+pad_size+dbl_size*2*hmm->nstates)', assigned value is 0 bcftools-1.22/HMM.c:155:18: note: snapshot is assigned '(struct snapshot_t*)mem' here. bcftools-1.22/HMM.c:158:30: note: Null pointer dereference bcftools-1.22/HMM.c:160:5: warning: If memory allocation fails, then there is a possible null pointer dereference: snapshot [nullPointerOutOfMemory] bcftools-1.22/HMM.c:154:41: note: Assuming allocation function fails bcftools-1.22/HMM.c:154:24: note: Assignment 'mem=(uint8_t*)malloc(str_size+pad_size+dbl_size*2*hmm->nstates)', assigned value is 0 bcftools-1.22/HMM.c:155:20: note: Assignment 'snapshot=(struct snapshot_t*)mem', assigned value is 0 bcftools-1.22/HMM.c:160:5: note: Null pointer dereference bcftools-1.22/HMM.c:191:5: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [nullPointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:134:19: note: Calling function 'hmm_set_tprob', 1st argument 'hmm' value is 0 bcftools-1.22/HMM.c:191:5: note: Null pointer dereference bcftools-1.22/HMM.c:194:11: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [nullPointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:134:19: note: Calling function 'hmm_set_tprob', 1st argument 'hmm' value is 0 bcftools-1.22/HMM.c:194:11: note: Null pointer dereference bcftools-1.22/HMM.c:197:12: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [nullPointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:134:19: note: Calling function 'hmm_set_tprob', 1st argument 'hmm' value is 0 bcftools-1.22/HMM.c:197:12: note: Null pointer dereference bcftools-1.22/HMM.c:197:48: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [nullPointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:134:19: note: Calling function 'hmm_set_tprob', 1st argument 'hmm' value is 0 bcftools-1.22/HMM.c:197:48: note: Null pointer dereference bcftools-1.22/HMM.c:197:61: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [nullPointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:134:19: note: Calling function 'hmm_set_tprob', 1st argument 'hmm' value is 0 bcftools-1.22/HMM.c:197:61: note: Null pointer dereference bcftools-1.22/HMM.c:201:25: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [nullPointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:134:19: note: Calling function 'hmm_set_tprob', 1st argument 'hmm' value is 0 bcftools-1.22/HMM.c:201:25: note: Null pointer dereference bcftools-1.22/HMM.c:201:39: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [nullPointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:134:19: note: Calling function 'hmm_set_tprob', 1st argument 'hmm' value is 0 bcftools-1.22/HMM.c:201:39: note: Null pointer dereference bcftools-1.22/HMM.c:201:55: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [nullPointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:134:19: note: Calling function 'hmm_set_tprob', 1st argument 'hmm' value is 0 bcftools-1.22/HMM.c:201:55: note: Null pointer dereference bcftools-1.22/HMM.c:201:76: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [nullPointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:134:19: note: Calling function 'hmm_set_tprob', 1st argument 'hmm' value is 0 bcftools-1.22/HMM.c:201:76: note: Null pointer dereference bcftools-1.22/HMM.c:201:89: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [nullPointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:134:19: note: Calling function 'hmm_set_tprob', 1st argument 'hmm' value is 0 bcftools-1.22/HMM.c:201:89: note: Null pointer dereference bcftools-1.22/HMM.c:201:103: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [nullPointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:134:19: note: Calling function 'hmm_set_tprob', 1st argument 'hmm' value is 0 bcftools-1.22/HMM.c:201:103: note: Null pointer dereference bcftools-1.22/HMM.c:201:120: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [nullPointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:134:19: note: Calling function 'hmm_set_tprob', 1st argument 'hmm' value is 0 bcftools-1.22/HMM.c:201:120: note: Null pointer dereference bcftools-1.22/HMM.c:201:133: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [nullPointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:134:19: note: Calling function 'hmm_set_tprob', 1st argument 'hmm' value is 0 bcftools-1.22/HMM.c:201:133: note: Null pointer dereference bcftools-1.22/HMM.c:201:147: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [nullPointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:134:19: note: Calling function 'hmm_set_tprob', 1st argument 'hmm' value is 0 bcftools-1.22/HMM.c:201:147: note: Null pointer dereference bcftools-1.22/HMM.c:157:45: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] bcftools-1.22/HMM.c:154:41: note: Assuming allocation function fails bcftools-1.22/HMM.c:154:24: note: Assignment 'mem=(uint8_t*)malloc(str_size+pad_size+dbl_size*2*hmm->nstates)', assigned value is 0 bcftools-1.22/HMM.c:157:45: note: Null pointer addition bcftools-1.22/HMM.c:157:30: portability: Casting between unsigned char * and double * which have an incompatible binary data representation. [invalidPointerCast] bcftools-1.22/HMM.c:139:38: style:inconclusive: Function 'hmm_snapshot' argument 2 names different: declaration 'snapshot' definition '_snapshot'. [funcArgNamesDifferent] bcftools-1.22/HMM.h:66:38: note: Function 'hmm_snapshot' argument 2 names different: declaration 'snapshot' definition '_snapshot'. bcftools-1.22/HMM.c:139:38: note: Function 'hmm_snapshot' argument 2 names different: declaration 'snapshot' definition '_snapshot'. bcftools-1.22/HMM.c:164:36: style:inconclusive: Function 'hmm_restore' argument 2 names different: declaration 'snapshot' definition '_snapshot'. [funcArgNamesDifferent] bcftools-1.22/HMM.h:75:36: note: Function 'hmm_restore' argument 2 names different: declaration 'snapshot' definition '_snapshot'. bcftools-1.22/HMM.c:164:36: note: Function 'hmm_restore' argument 2 names different: declaration 'snapshot' definition '_snapshot'. bcftools-1.22/HMM.c:180:34: style:inconclusive: Function 'hmm_reset' argument 2 names different: declaration 'snapshot' definition '_snapshot'. [funcArgNamesDifferent] bcftools-1.22/HMM.h:76:34: note: Function 'hmm_reset' argument 2 names different: declaration 'snapshot' definition '_snapshot'. bcftools-1.22/HMM.c:180:34: note: Function 'hmm_reset' argument 2 names different: declaration 'snapshot' definition '_snapshot'. bcftools-1.22/HMM.c:204:66: style:inconclusive: Function 'hmm_set_tprob_func' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] bcftools-1.22/HMM.c:227:38: style:inconclusive: Function 'hmm_run_viterbi' argument 2 names different: declaration 'nsites' definition 'n'. [funcArgNamesDifferent] bcftools-1.22/HMM.h:101:38: note: Function 'hmm_run_viterbi' argument 2 names different: declaration 'nsites' definition 'n'. bcftools-1.22/HMM.c:227:38: note: Function 'hmm_run_viterbi' argument 2 names different: declaration 'nsites' definition 'n'. bcftools-1.22/HMM.c:227:49: style:inconclusive: Function 'hmm_run_viterbi' argument 3 names different: declaration 'eprob' definition 'eprobs'. [funcArgNamesDifferent] bcftools-1.22/HMM.h:101:54: note: Function 'hmm_run_viterbi' argument 3 names different: declaration 'eprob' definition 'eprobs'. bcftools-1.22/HMM.c:227:49: note: Function 'hmm_run_viterbi' argument 3 names different: declaration 'eprob' definition 'eprobs'. bcftools-1.22/HMM.c:292:38: style:inconclusive: Function 'hmm_run_fwd_bwd' argument 2 names different: declaration 'nsites' definition 'n'. [funcArgNamesDifferent] bcftools-1.22/HMM.h:115:38: note: Function 'hmm_run_fwd_bwd' argument 2 names different: declaration 'nsites' definition 'n'. bcftools-1.22/HMM.c:292:38: note: Function 'hmm_run_fwd_bwd' argument 2 names different: declaration 'nsites' definition 'n'. bcftools-1.22/HMM.c:292:49: style:inconclusive: Function 'hmm_run_fwd_bwd' argument 3 names different: declaration 'eprob' definition 'eprobs'. [funcArgNamesDifferent] bcftools-1.22/HMM.h:115:54: note: Function 'hmm_run_fwd_bwd' argument 3 names different: declaration 'eprob' definition 'eprobs'. bcftools-1.22/HMM.c:292:49: note: Function 'hmm_run_fwd_bwd' argument 3 names different: declaration 'eprob' definition 'eprobs'. bcftools-1.22/HMM.c:375:44: style:inconclusive: Function 'hmm_run_baum_welch' argument 2 names different: declaration 'nsites' definition 'n'. [funcArgNamesDifferent] bcftools-1.22/HMM.h:133:44: note: Function 'hmm_run_baum_welch' argument 2 names different: declaration 'nsites' definition 'n'. bcftools-1.22/HMM.c:375:44: note: Function 'hmm_run_baum_welch' argument 2 names different: declaration 'nsites' definition 'n'. bcftools-1.22/HMM.c:375:55: style:inconclusive: Function 'hmm_run_baum_welch' argument 3 names different: declaration 'eprob' definition 'eprobs'. [funcArgNamesDifferent] bcftools-1.22/HMM.h:133:60: note: Function 'hmm_run_baum_welch' argument 3 names different: declaration 'eprob' definition 'eprobs'. bcftools-1.22/HMM.c:375:55: note: Function 'hmm_run_baum_welch' argument 3 names different: declaration 'eprob' definition 'eprobs'. bcftools-1.22/HMM.c:68:38: style: Parameter 'hmm' can be declared as pointer to const [constParameterPointer] bcftools-1.22/HMM.c:69:30: style: Parameter 'hmm' can be declared as pointer to const [constParameterPointer] bcftools-1.22/HMM.c:70:28: style: Parameter 'hmm' can be declared as pointer to const [constParameterPointer] bcftools-1.22/HMM.c:71:37: style: Parameter 'hmm' can be declared as pointer to const [constParameterPointer] bcftools-1.22/HMM.c:73:51: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] bcftools-1.22/HMM.c:73:62: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] bcftools-1.22/HMM.c:93:42: style: Parameter 'probs' can be declared as pointer to const [constParameterPointer] bcftools-1.22/HMM.c:166:17: style: Variable 'snapshot' can be declared as pointer to const [constVariablePointer] bcftools-1.22/HMM.c:189:40: style: Parameter 'tprob' can be declared as pointer to const [constParameterPointer] bcftools-1.22/HMM.c:250:17: style: Variable 'eprob' can be declared as pointer to const [constVariablePointer] bcftools-1.22/HMM.c:315:17: style: Variable 'fwd_prev' can be declared as pointer to const [constVariablePointer] bcftools-1.22/HMM.c:317:17: style: Variable 'eprob' can be declared as pointer to const [constVariablePointer] bcftools-1.22/HMM.c:346:17: style: Variable 'eprob' can be declared as pointer to const [constVariablePointer] bcftools-1.22/HMM.c:403:17: style: Variable 'fwd_prev' can be declared as pointer to const [constVariablePointer] bcftools-1.22/HMM.c:405:17: style: Variable 'eprob' can be declared as pointer to const [constVariablePointer] bcftools-1.22/HMM.c:431:17: style: Variable 'eprob' can be declared as pointer to const [constVariablePointer] bcftools-1.22/abuf.c:97:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] bcftools-1.22/abuf.c:350:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/abuf.c:516:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/abuf.c:544:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/abuf.c:815:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/abuf.c:846:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_ALL [valueFlowBailoutIncompleteVar] bcftools-1.22/abuf.c:363:27: style: The if condition is the same as the previous if condition [duplicateCondition] bcftools-1.22/abuf.c:359:27: note: First condition bcftools-1.22/abuf.c:363:27: note: Second condition bcftools-1.22/abuf.c:570:27: style: The if condition is the same as the previous if condition [duplicateCondition] bcftools-1.22/abuf.c:568:27: note: First condition bcftools-1.22/abuf.c:570:27: note: Second condition bcftools-1.22/abuf.c:84:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] bcftools-1.22/abuf.c:83:35: note: Assuming allocation function fails bcftools-1.22/abuf.c:83:19: note: Assignment 'buf=(struct abuf_t*)calloc(1,sizeof(struct abuf_t))', assigned value is 0 bcftools-1.22/abuf.c:84:5: note: Null pointer dereference bcftools-1.22/abuf.c:85:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] bcftools-1.22/abuf.c:83:35: note: Assuming allocation function fails bcftools-1.22/abuf.c:83:19: note: Assignment 'buf=(struct abuf_t*)calloc(1,sizeof(struct abuf_t))', assigned value is 0 bcftools-1.22/abuf.c:85:5: note: Null pointer dereference bcftools-1.22/abuf.c:86:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] bcftools-1.22/abuf.c:83:35: note: Assuming allocation function fails bcftools-1.22/abuf.c:83:19: note: Assignment 'buf=(struct abuf_t*)calloc(1,sizeof(struct abuf_t))', assigned value is 0 bcftools-1.22/abuf.c:86:5: note: Null pointer dereference bcftools-1.22/abuf.c:87:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] bcftools-1.22/abuf.c:83:35: note: Assuming allocation function fails bcftools-1.22/abuf.c:83:19: note: Assignment 'buf=(struct abuf_t*)calloc(1,sizeof(struct abuf_t))', assigned value is 0 bcftools-1.22/abuf.c:87:5: note: Null pointer dereference bcftools-1.22/abuf.c:472:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] bcftools-1.22/abuf.c:473:9: note: Found duplicate branches for 'if' and 'else'. bcftools-1.22/abuf.c:472:9: note: Found duplicate branches for 'if' and 'else'. bcftools-1.22/abuf.c:765:13: style: Local variable 'j' shadows outer variable [shadowVariable] bcftools-1.22/abuf.c:761:11: note: Shadowed variable bcftools-1.22/abuf.c:765:13: note: Shadow local variable bcftools-1.22/abuf.c:774:13: style: Local variable 'j' shadows outer variable [shadowVariable] bcftools-1.22/abuf.c:761:11: note: Shadowed variable bcftools-1.22/abuf.c:774:13: note: Shadow local variable bcftools-1.22/bcftools.h:122:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] bcftools-1.22/abuf.c:269:65: style: Parameter 'atom' can be declared as pointer to const [constParameterPointer] bcftools-1.22/abuf.c:428:26: style: Variable 'tbl' can be declared as pointer to const [constVariablePointer] bcftools-1.22/abuf.c:482:18: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/abuf.c:614:23: style: Variable 'src' can be declared as pointer to const [constVariablePointer] bcftools-1.22/abuf.c:659:30: style: Variable 'tbl' can be declared as pointer to const [constVariablePointer] bcftools-1.22/abuf.c:710:35: style: Variable 'src' can be declared as pointer to const [constVariablePointer] bcftools-1.22/abuf.c:720:35: style: Parameter 'seq' can be declared as pointer to const [constParameterPointer] bcftools-1.22/abuf.c:795:21: style: Variable 'out' can be declared as pointer to const [constVariablePointer] bcftools-1.22/bcftools.h:175:45: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] bcftools-1.22/rbuf.h:51:36: style: Parameter 'rbuf' can be declared as pointer to const [constParameterPointer] bcftools-1.22/rbuf.h:76:39: style: Parameter 'rbuf' can be declared as pointer to const [constParameterPointer] bcftools-1.22/rbuf.h:100:37: style: Parameter 'rbuf' can be declared as pointer to const [constParameterPointer] bcftools-1.22/abuf.c:396:49: portability: 'buf->tmp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bcftools-1.22/abuf.c:399:42: portability: 'buf->tmp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bcftools-1.22/abuf.c:401:33: portability: 'buf->tmp2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bcftools-1.22/abuf.c:422:49: portability: 'buf->tmp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bcftools-1.22/abuf.c:423:33: portability: 'buf->tmp2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bcftools-1.22/abuf.c:425:33: portability: 'buf->tmp2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bcftools-1.22/abuf.c:425:51: portability: 'buf->tmp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bcftools-1.22/abuf.c:435:33: portability: 'buf->tmp2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bcftools-1.22/abuf.c:614:39: portability: 'buf->tmp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bcftools-1.22/abuf.c:615:39: portability: 'buf->tmp2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bcftools-1.22/abuf.c:616:48: portability: 'src' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bcftools-1.22/abuf.c:619:35: portability: 'src' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bcftools-1.22/abuf.c:621:31: portability: 'dst' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bcftools-1.22/abuf.c:640:47: portability: 'buf->tmp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bcftools-1.22/abuf.c:642:43: portability: 'buf->tmp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bcftools-1.22/abuf.c:653:39: portability: 'buf->tmp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bcftools-1.22/abuf.c:654:39: portability: 'buf->tmp2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bcftools-1.22/abuf.c:656:27: portability: 'dst' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bcftools-1.22/abuf.c:656:40: portability: 'src' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bcftools-1.22/abuf.c:664:31: portability: 'dst' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bcftools-1.22/bam2bcf.c:99:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nm [valueFlowBailoutIncompleteVar] bcftools-1.22/bam2bcf.c:152:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAM_CIGAR_MASK [valueFlowBailoutIncompleteVar] bcftools-1.22/bam2bcf.c:264:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seq_nt16_int [valueFlowBailoutIncompleteVar] bcftools-1.22/bam2bcf.c:617:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] bcftools-1.22/bam2bcf.c:664:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] bcftools-1.22/bam2bcf.c:727:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] bcftools-1.22/bam2bcf.c:777:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] bcftools-1.22/bam2bcf.c:848:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] bcftools-1.22/bam2bcf.c:893:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] bcftools-1.22/bam2bcf.c:960:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seq_nt16_int [valueFlowBailoutIncompleteVar] bcftools-1.22/bam2bcf.c:1180:110: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable two [valueFlowBailoutIncompleteVar] bcftools-1.22/bam2bcf.c:476:23: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] bcftools-1.22/bam2bcf.c:480:32: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] bcftools-1.22/bam2bcf.c:482:32: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] bcftools-1.22/bam2bcf.c:484:32: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] bcftools-1.22/bam2bcf.c:886:16: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] bcftools-1.22/bam2bcf.c:888:16: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] bcftools-1.22/bam2bcf.c:49:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:49:5: note: Null pointer dereference bcftools-1.22/bam2bcf.c:50:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:50:5: note: Null pointer dereference bcftools-1.22/bam2bcf.c:50:22: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:50:22: note: Null pointer dereference bcftools-1.22/bam2bcf.c:50:38: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:50:38: note: Null pointer dereference bcftools-1.22/bam2bcf.c:51:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:51:5: note: Null pointer dereference bcftools-1.22/bam2bcf.c:52:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:52:5: note: Null pointer dereference bcftools-1.22/bam2bcf.c:53:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:53:5: note: Null pointer dereference bcftools-1.22/bam2bcf.c:54:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:54:5: note: Null pointer dereference bcftools-1.22/bam2bcf.c:55:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:55:5: note: Null pointer dereference bcftools-1.22/bam2bcf.c:56:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:56:5: note: Null pointer dereference bcftools-1.22/bam2bcf.c:57:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:57:5: note: Null pointer dereference bcftools-1.22/bam2bcf.c:58:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:58:5: note: Null pointer dereference bcftools-1.22/bam2bcf.c:59:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:59:5: note: Null pointer dereference bcftools-1.22/bam2bcf.c:59:34: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:59:34: note: Null pointer dereference bcftools-1.22/bam2bcf.c:60:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:60:5: note: Null pointer dereference bcftools-1.22/bam2bcf.c:60:34: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:60:34: note: Null pointer dereference bcftools-1.22/bam2bcf.c:61:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:61:5: note: Null pointer dereference bcftools-1.22/bam2bcf.c:61:34: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:61:34: note: Null pointer dereference bcftools-1.22/bam2bcf.c:62:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:62:5: note: Null pointer dereference bcftools-1.22/bam2bcf.c:62:34: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:62:34: note: Null pointer dereference bcftools-1.22/bam2bcf.c:63:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:63:5: note: Null pointer dereference bcftools-1.22/bam2bcf.c:64:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:64:5: note: Null pointer dereference bcftools-1.22/bam2bcf.c:64:34: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:64:34: note: Null pointer dereference bcftools-1.22/bam2bcf.c:65:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:65:5: note: Null pointer dereference bcftools-1.22/bam2bcf.c:65:34: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:65:34: note: Null pointer dereference bcftools-1.22/bam2bcf.c:66:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:66:5: note: Null pointer dereference bcftools-1.22/bam2bcf.c:66:34: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:66:34: note: Null pointer dereference bcftools-1.22/bam2bcf.c:67:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:67:5: note: Null pointer dereference bcftools-1.22/bam2bcf.c:67:34: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:67:34: note: Null pointer dereference bcftools-1.22/bam2bcf.c:68:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:68:5: note: Null pointer dereference bcftools-1.22/bam2bcf.c:68:34: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:68:34: note: Null pointer dereference bcftools-1.22/bam2bcf.c:69:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:69:5: note: Null pointer dereference bcftools-1.22/bam2bcf.c:69:34: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:69:34: note: Null pointer dereference bcftools-1.22/bam2bcf.c:70:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:70:5: note: Null pointer dereference bcftools-1.22/bam2bcf.c:70:34: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:70:34: note: Null pointer dereference bcftools-1.22/bam2bcf.c:71:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:71:5: note: Null pointer dereference bcftools-1.22/bam2bcf.c:71:34: warning: If memory allocation fails, then there is a possible null pointer dereference: bca [nullPointerOutOfMemory] bcftools-1.22/bam2bcf.c:48:34: note: Assuming allocation function fails bcftools-1.22/bam2bcf.c:48:11: note: Assignment 'bca=(struct bcf_callaux_t*)calloc(1,sizeof(struct bcf_callaux_t))', assigned value is 0 bcftools-1.22/bam2bcf.c:71:34: note: Null pointer dereference bcftools-1.22/bam2bcf.c:1178:42: style:inconclusive: Function 'bcf_call2bcf' argument 2 names different: declaration 'b' definition 'rec'. [funcArgNamesDifferent] bcftools-1.22/bam2bcf.h:195:46: note: Function 'bcf_call2bcf' argument 2 names different: declaration 'b' definition 'rec'. bcftools-1.22/bam2bcf.c:1178:42: note: Function 'bcf_call2bcf' argument 2 names different: declaration 'b' definition 'rec'. bcftools-1.22/bam2bcf.c:1071:21: style: Local variable 'tmp' shadows outer variable [shadowVariable] bcftools-1.22/bam2bcf.c:975:21: note: Shadowed variable bcftools-1.22/bam2bcf.c:1071:21: note: Shadow local variable bcftools-1.22/bam2bcf.c:1101:21: style: Local variable 'tmp' shadows outer variable [shadowVariable] bcftools-1.22/bam2bcf.c:975:21: note: Shadowed variable bcftools-1.22/bam2bcf.c:1101:21: note: Shadow local variable bcftools-1.22/bam2bcf.c:425:22: style: Variable 'qual' can be declared as pointer to const [constVariablePointer] bcftools-1.22/bam2bcf.c:596:22: style: Parameter 'pos' can be declared as pointer to const [constParameterPointer] bcftools-1.22/bam2bcf.c:659:29: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] bcftools-1.22/bam2bcf.c:659:37: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] bcftools-1.22/bam2bcf.c:711:31: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] bcftools-1.22/bam2bcf.c:711:39: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] bcftools-1.22/bam2bcf.c:756:27: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] bcftools-1.22/bam2bcf.c:756:35: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] bcftools-1.22/bam2bcf.c:813:28: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] bcftools-1.22/bam2bcf.c:813:36: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] bcftools-1.22/bam2bcf_edlib.c:46:1: error: There is an unknown macro here somewhere. Configuration is required. If KSORT_INIT_STATIC_GENERIC is a macro then please configure it. [unknownMacro] bcftools-1.22/bam2bcf_iaux.c:39:1: error: There is an unknown macro here somewhere. Configuration is required. If KSORT_INIT_STATIC_GENERIC is a macro then please configure it. [unknownMacro] bcftools-1.22/bam2bcf_indel.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If KSORT_INIT_GENERIC is a macro then please configure it. [unknownMacro] bcftools-1.22/bam_sample.c:62:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bsmpl [nullPointerOutOfMemory] bcftools-1.22/bam_sample.c:61:33: note: Assuming allocation function fails bcftools-1.22/bam_sample.c:61:13: note: Assignment 'bsmpl=(struct bam_smpl_t*)calloc(1,sizeof(struct bam_smpl_t))', assigned value is 0 bcftools-1.22/bam_sample.c:62:5: note: Null pointer dereference bcftools-1.22/bam_sample.c:116:11: style: Variable 'rg_smpl' can be declared as pointer to const [constVariablePointer] bcftools-1.22/bam_sample.c:151:47: style: Parameter 'bam_hdr' can be declared as pointer to const [constParameterPointer] bcftools-1.22/bam_sample.c:172:15: style: Variable 'eol' can be declared as pointer to const [constVariablePointer] bcftools-1.22/bam_sample.c:197:23: style: Variable 'name' can be declared as pointer to const [constVariablePointer] bcftools-1.22/bin.c:47:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bin [nullPointerOutOfMemory] bcftools-1.22/bin.c:40:33: note: Assuming allocation function fails bcftools-1.22/bin.c:40:18: note: Assignment 'bin=(struct bin_t*)calloc(1,sizeof(struct bin_t))', assigned value is 0 bcftools-1.22/bin.c:47:5: note: Null pointer dereference bcftools-1.22/bin.c:48:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bin [nullPointerOutOfMemory] bcftools-1.22/bin.c:40:33: note: Assuming allocation function fails bcftools-1.22/bin.c:40:18: note: Assignment 'bin=(struct bin_t*)calloc(1,sizeof(struct bin_t))', assigned value is 0 bcftools-1.22/bin.c:48:5: note: Null pointer dereference bcftools-1.22/bin.c:52:9: warning: If memory allocation fails, then there is a possible null pointer dereference: bin [nullPointerOutOfMemory] bcftools-1.22/bin.c:40:33: note: Assuming allocation function fails bcftools-1.22/bin.c:40:18: note: Assignment 'bin=(struct bin_t*)calloc(1,sizeof(struct bin_t))', assigned value is 0 bcftools-1.22/bin.c:52:9: note: Null pointer dereference bcftools-1.22/bin.c:54:27: warning: If memory allocation fails, then there is a possible null pointer dereference: bin [nullPointerOutOfMemory] bcftools-1.22/bin.c:40:33: note: Assuming allocation function fails bcftools-1.22/bin.c:40:18: note: Assignment 'bin=(struct bin_t*)calloc(1,sizeof(struct bin_t))', assigned value is 0 bcftools-1.22/bin.c:54:27: note: Null pointer dereference bcftools-1.22/bin.c:54:47: warning: If memory allocation fails, then there is a possible null pointer dereference: bin [nullPointerOutOfMemory] bcftools-1.22/bin.c:40:33: note: Assuming allocation function fails bcftools-1.22/bin.c:40:18: note: Assignment 'bin=(struct bin_t*)calloc(1,sizeof(struct bin_t))', assigned value is 0 bcftools-1.22/bin.c:54:47: note: Null pointer dereference bcftools-1.22/bin.c:38:29: style:inconclusive: Function 'bin_init' argument 1 names different: declaration 'list' definition 'list_def'. [funcArgNamesDifferent] bcftools-1.22/bin.h:45:29: note: Function 'bin_init' argument 1 names different: declaration 'list' definition 'list_def'. bcftools-1.22/bin.c:38:29: note: Function 'bin_init' argument 1 names different: declaration 'list' definition 'list_def'. bcftools-1.22/bin.c:88:37: style:inconclusive: Function 'bin_get_value' argument 2 names different: declaration 'ith' definition 'idx'. [funcArgNamesDifferent] bcftools-1.22/bin.h:62:37: note: Function 'bin_get_value' argument 2 names different: declaration 'ith' definition 'idx'. bcftools-1.22/bin.c:88:37: note: Function 'bin_get_value' argument 2 names different: declaration 'ith' definition 'idx'. bcftools-1.22/bin.c:86:25: style: Parameter 'bin' can be declared as pointer to const [constParameterPointer] bcftools-1.22/bin.c:88:28: style: Parameter 'bin' can be declared as pointer to const [constParameterPointer] bcftools-1.22/bin.c:90:24: style: Parameter 'bin' can be declared as pointer to const [constParameterPointer] bcftools-1.22/ccall.c:105:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] bcftools-1.22/ccall.c:117:110: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable two [valueFlowBailoutIncompleteVar] bcftools-1.22/ccall.c:260:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/ccall.c:333:9: style: Redundant initialization for 'ret'. The initialized value is overwritten before it is read. [redundantInitialization] bcftools-1.22/ccall.c:329:13: note: ret is initialized bcftools-1.22/ccall.c:333:9: note: ret is overwritten bcftools-1.22/ccall.c:90:30: style: Parameter 'pl2p' can be declared as pointer to const [constParameterPointer] bcftools-1.22/ccall.c:103:43: style: Parameter 'a' can be declared as const array [constParameter] bcftools-1.22/ccall.c:139:81: style: Parameter 'em' can be declared as const array [constParameter] bcftools-1.22/ccall.c:178:18: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] bcftools-1.22/cols.c:31:10: warning: If memory allocation fails, then there is a possible null pointer dereference: cols [nullPointerOutOfMemory] bcftools-1.22/cols.c:30:41: note: Assuming allocation function fails bcftools-1.22/cols.c:30:25: note: Assignment 'cols=(struct cols_t*)calloc(1,sizeof(struct cols_t))', assigned value is 0 bcftools-1.22/cols.c:31:10: note: Null pointer dereference bcftools-1.22/cols.c:38:18: warning: If memory allocation fails, then there is a possible null pointer dereference: se [nullPointerOutOfMemory] bcftools-1.22/cols.c:33:24: note: Assuming allocation function fails bcftools-1.22/cols.c:33:24: note: Assignment 'cols->rmme=strdup(line)', assigned value is 0 bcftools-1.22/cols.c:34:20: note: Assignment 'ss=cols->rmme', assigned value is 0 bcftools-1.22/cols.c:37:20: note: Assignment 'se=ss', assigned value is 0 bcftools-1.22/cols.c:38:18: note: Null pointer dereference bcftools-1.22/cols.c:38:25: warning: If memory allocation fails, then there is a possible null pointer dereference: se [nullPointerOutOfMemory] bcftools-1.22/cols.c:33:24: note: Assuming allocation function fails bcftools-1.22/cols.c:33:24: note: Assignment 'cols->rmme=strdup(line)', assigned value is 0 bcftools-1.22/cols.c:34:20: note: Assignment 'ss=cols->rmme', assigned value is 0 bcftools-1.22/cols.c:37:20: note: Assignment 'se=ss', assigned value is 0 bcftools-1.22/cols.c:38:25: note: Null pointer dereference bcftools-1.22/cols.c:63:9: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_cols [nullPointerOutOfMemory] bcftools-1.22/cols.c:62:43: note: Assuming allocation function fails bcftools-1.22/cols.c:62:28: note: Assignment 'tmp_cols=(struct cols_t*)calloc(1,sizeof(struct cols_t))', assigned value is 0 bcftools-1.22/cols.c:63:9: note: Null pointer dereference bcftools-1.22/cols.c:64:9: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_cols [nullPointerOutOfMemory] bcftools-1.22/cols.c:62:43: note: Assuming allocation function fails bcftools-1.22/cols.c:62:28: note: Assignment 'tmp_cols=(struct cols_t*)calloc(1,sizeof(struct cols_t))', assigned value is 0 bcftools-1.22/cols.c:64:9: note: Null pointer dereference bcftools-1.22/cols.c:66:21: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_cols [nullPointerOutOfMemory] bcftools-1.22/cols.c:62:43: note: Assuming allocation function fails bcftools-1.22/cols.c:62:28: note: Assignment 'tmp_cols=(struct cols_t*)calloc(1,sizeof(struct cols_t))', assigned value is 0 bcftools-1.22/cols.c:66:21: note: Null pointer dereference bcftools-1.22/cols.c:72:13: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_cols [nullPointerOutOfMemory] bcftools-1.22/cols.c:62:43: note: Assuming allocation function fails bcftools-1.22/cols.c:62:28: note: Assignment 'tmp_cols=(struct cols_t*)calloc(1,sizeof(struct cols_t))', assigned value is 0 bcftools-1.22/cols.c:72:13: note: Null pointer dereference bcftools-1.22/cols.c:76:9: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_cols [nullPointerOutOfMemory] bcftools-1.22/cols.c:62:43: note: Assuming allocation function fails bcftools-1.22/cols.c:62:28: note: Assignment 'tmp_cols=(struct cols_t*)calloc(1,sizeof(struct cols_t))', assigned value is 0 bcftools-1.22/cols.c:76:9: note: Null pointer dereference bcftools-1.22/cols.c:80:22: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_cols [nullPointerOutOfMemory] bcftools-1.22/cols.c:62:43: note: Assuming allocation function fails bcftools-1.22/cols.c:62:28: note: Assignment 'tmp_cols=(struct cols_t*)calloc(1,sizeof(struct cols_t))', assigned value is 0 bcftools-1.22/cols.c:80:22: note: Null pointer dereference bcftools-1.22/cols.c:81:22: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_cols [nullPointerOutOfMemory] bcftools-1.22/cols.c:62:43: note: Assuming allocation function fails bcftools-1.22/cols.c:62:28: note: Assignment 'tmp_cols=(struct cols_t*)calloc(1,sizeof(struct cols_t))', assigned value is 0 bcftools-1.22/cols.c:81:22: note: Null pointer dereference bcftools-1.22/consensus.c:229:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable header [valueFlowBailoutIncompleteVar] bcftools-1.22/consensus.c:363:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/consensus.c:412:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] bcftools-1.22/consensus.c:544:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int8_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/consensus.c:565:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTS_RESIZE_CLEAR [valueFlowBailoutIncompleteVar] bcftools-1.22/consensus.c:608:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_FMT [valueFlowBailoutIncompleteVar] bcftools-1.22/consensus.c:1114:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rid [valueFlowBailoutIncompleteVar] bcftools-1.22/consensus.c:1186:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/consensus.c:1256:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] bcftools-1.22/consensus.c:521:19: style: Expression is always false because 'else if' condition matches previous condition at line 516. [multiCondition] bcftools-1.22/consensus.c:350:29: style: Redundant condition: The condition '!*se' is redundant since '*se != '-'' is sufficient. [redundantCondition] bcftools-1.22/consensus.c:140:5: warning: If memory allocation fails, then there is a possible null pointer dereference: chain [nullPointerOutOfMemory] bcftools-1.22/consensus.c:139:30: note: Assuming allocation function fails bcftools-1.22/consensus.c:139:13: note: Assignment 'chain=(struct chain_t*)calloc(1,sizeof(struct chain_t))', assigned value is 0 bcftools-1.22/consensus.c:140:5: note: Null pointer dereference bcftools-1.22/consensus.c:141:5: warning: If memory allocation fails, then there is a possible null pointer dereference: chain [nullPointerOutOfMemory] bcftools-1.22/consensus.c:139:30: note: Assuming allocation function fails bcftools-1.22/consensus.c:139:13: note: Assignment 'chain=(struct chain_t*)calloc(1,sizeof(struct chain_t))', assigned value is 0 bcftools-1.22/consensus.c:141:5: note: Null pointer dereference bcftools-1.22/consensus.c:142:5: warning: If memory allocation fails, then there is a possible null pointer dereference: chain [nullPointerOutOfMemory] bcftools-1.22/consensus.c:139:30: note: Assuming allocation function fails bcftools-1.22/consensus.c:139:13: note: Assignment 'chain=(struct chain_t*)calloc(1,sizeof(struct chain_t))', assigned value is 0 bcftools-1.22/consensus.c:142:5: note: Null pointer dereference bcftools-1.22/consensus.c:143:5: warning: If memory allocation fails, then there is a possible null pointer dereference: chain [nullPointerOutOfMemory] bcftools-1.22/consensus.c:139:30: note: Assuming allocation function fails bcftools-1.22/consensus.c:139:13: note: Assignment 'chain=(struct chain_t*)calloc(1,sizeof(struct chain_t))', assigned value is 0 bcftools-1.22/consensus.c:143:5: note: Null pointer dereference bcftools-1.22/consensus.c:144:5: warning: If memory allocation fails, then there is a possible null pointer dereference: chain [nullPointerOutOfMemory] bcftools-1.22/consensus.c:139:30: note: Assuming allocation function fails bcftools-1.22/consensus.c:139:13: note: Assignment 'chain=(struct chain_t*)calloc(1,sizeof(struct chain_t))', assigned value is 0 bcftools-1.22/consensus.c:144:5: note: Null pointer dereference bcftools-1.22/consensus.c:145:5: warning: If memory allocation fails, then there is a possible null pointer dereference: chain [nullPointerOutOfMemory] bcftools-1.22/consensus.c:139:30: note: Assuming allocation function fails bcftools-1.22/consensus.c:139:13: note: Assignment 'chain=(struct chain_t*)calloc(1,sizeof(struct chain_t))', assigned value is 0 bcftools-1.22/consensus.c:145:5: note: Null pointer dereference bcftools-1.22/consensus.c:146:5: warning: If memory allocation fails, then there is a possible null pointer dereference: chain [nullPointerOutOfMemory] bcftools-1.22/consensus.c:139:30: note: Assuming allocation function fails bcftools-1.22/consensus.c:139:13: note: Assignment 'chain=(struct chain_t*)calloc(1,sizeof(struct chain_t))', assigned value is 0 bcftools-1.22/consensus.c:146:5: note: Null pointer dereference bcftools-1.22/consensus.c:493:25: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] bcftools-1.22/consensus.c:481:23: note: Assuming allocation function fails bcftools-1.22/consensus.c:481:23: note: Assignment 'out=malloc(rlen+1)', assigned value is 0 bcftools-1.22/consensus.c:493:25: note: Null pointer dereference bcftools-1.22/consensus.c:494:5: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] bcftools-1.22/consensus.c:481:23: note: Assuming allocation function fails bcftools-1.22/consensus.c:481:23: note: Assignment 'out=malloc(rlen+1)', assigned value is 0 bcftools-1.22/consensus.c:494:5: note: Null pointer dereference bcftools-1.22/consensus.c:1234:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/consensus.c:1233:36: note: Assuming allocation function fails bcftools-1.22/consensus.c:1233:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/consensus.c:1234:5: note: Null pointer dereference bcftools-1.22/consensus.c:1234:26: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/consensus.c:1233:36: note: Assuming allocation function fails bcftools-1.22/consensus.c:1233:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/consensus.c:1234:26: note: Null pointer dereference bcftools-1.22/consensus.c:1235:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/consensus.c:1233:36: note: Assuming allocation function fails bcftools-1.22/consensus.c:1233:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/consensus.c:1235:5: note: Null pointer dereference bcftools-1.22/consensus.c:185:11: style: Redundant initialization for 'n'. The initialized value is overwritten before it is read. [redundantInitialization] bcftools-1.22/consensus.c:180:11: note: n is initialized bcftools-1.22/consensus.c:185:11: note: n is overwritten bcftools-1.22/consensus.c:735:13: style: Local variable 'ialt' shadows outer variable [shadowVariable] bcftools-1.22/consensus.c:605:9: note: Shadowed variable bcftools-1.22/consensus.c:735:13: note: Shadow local variable bcftools-1.22/consensus.c:304:47: style: Parameter 'with' can be declared as pointer to const [constParameterPointer] bcftools-1.22/consensus.c:341:11: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] bcftools-1.22/consensus.c:473:46: style: Parameter 'rec' can be declared as pointer to const [constParameterPointer] bcftools-1.22/consensus.c:479:29: style: Parameter 'ref' can be declared as pointer to const [constParameterPointer] bcftools-1.22/consensus.c:479:50: style: Parameter 'alt' can be declared as pointer to const [constParameterPointer] bcftools-1.22/consensus.c:497:28: style: Parameter 'ref' can be declared as pointer to const [constParameterPointer] bcftools-1.22/consensus.c:507:28: style: Parameter 'ref' can be declared as pointer to const [constParameterPointer] bcftools-1.22/consensus.c:595:15: style: Variable 'chr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/consensus.c:609:20: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] bcftools-1.22/consensus.c:1237:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/consensus.c:760:18: style: Variable 'ialt' is assigned a value that is never used. [unreadVariable] bcftools-1.22/convert.c:138:130: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_CTG [valueFlowBailoutIncompleteVar] bcftools-1.22/convert.c:187:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/convert.c:194:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_BT_INT8 [valueFlowBailoutIncompleteVar] bcftools-1.22/convert.c:240:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/convert.c:327:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/convert.c:353:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] bcftools-1.22/convert.c:402:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_BT_FLOAT [valueFlowBailoutIncompleteVar] bcftools-1.22/convert.c:449:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_BT_INT8 [valueFlowBailoutIncompleteVar] bcftools-1.22/convert.c:611:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_BT_INT8 [valueFlowBailoutIncompleteVar] bcftools-1.22/convert.c:651:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VCF_SNP [valueFlowBailoutIncompleteVar] bcftools-1.22/convert.c:659:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VCF_REF [valueFlowBailoutIncompleteVar] bcftools-1.22/convert.c:682:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_CTG [valueFlowBailoutIncompleteVar] bcftools-1.22/convert.c:711:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/convert.c:764:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/convert.c:854:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/convert.c:1008:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/convert.c:1148:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_CTG [valueFlowBailoutIncompleteVar] bcftools-1.22/convert.c:1226:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] bcftools-1.22/convert.c:1370:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/convert.c:1509:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/convert.c:1633:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_STR [valueFlowBailoutIncompleteVar] bcftools-1.22/convert.c:1782:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/convert.c:213:16: style: Array index 'ibeg' is used before limits check. [arrayIndexThenCheck] bcftools-1.22/convert.c:1184:21: style: Condition 'fmt->is_gt_field' is always true [knownConditionTrueFalse] bcftools-1.22/convert.c:1402:13: warning: If memory allocation fails, then there is a possible null pointer dereference: dat [nullPointerOutOfMemory] bcftools-1.22/convert.c:1400:40: note: Assuming allocation function fails bcftools-1.22/convert.c:1400:40: note: Assignment 'dat=calloc(1,sizeof(struct filter_expr_t))', assigned value is 0 bcftools-1.22/convert.c:1402:13: note: Null pointer dereference bcftools-1.22/convert.c:1631:5: warning: If memory allocation fails, then there is a possible null pointer dereference: convert [nullPointerOutOfMemory] bcftools-1.22/convert.c:1630:45: note: Assuming allocation function fails bcftools-1.22/convert.c:1630:26: note: Assignment 'convert=(struct convert_t*)calloc(1,sizeof(struct convert_t))', assigned value is 0 bcftools-1.22/convert.c:1631:5: note: Null pointer dereference bcftools-1.22/convert.c:1632:5: warning: If memory allocation fails, then there is a possible null pointer dereference: convert [nullPointerOutOfMemory] bcftools-1.22/convert.c:1630:45: note: Assuming allocation function fails bcftools-1.22/convert.c:1630:26: note: Assignment 'convert=(struct convert_t*)calloc(1,sizeof(struct convert_t))', assigned value is 0 bcftools-1.22/convert.c:1632:5: note: Null pointer dereference bcftools-1.22/convert.c:1633:5: warning: If memory allocation fails, then there is a possible null pointer dereference: convert [nullPointerOutOfMemory] bcftools-1.22/convert.c:1630:45: note: Assuming allocation function fails bcftools-1.22/convert.c:1630:26: note: Assignment 'convert=(struct convert_t*)calloc(1,sizeof(struct convert_t))', assigned value is 0 bcftools-1.22/convert.c:1633:5: note: Null pointer dereference bcftools-1.22/convert.c:1634:5: warning: If memory allocation fails, then there is a possible null pointer dereference: convert [nullPointerOutOfMemory] bcftools-1.22/convert.c:1630:45: note: Assuming allocation function fails bcftools-1.22/convert.c:1630:26: note: Assignment 'convert=(struct convert_t*)calloc(1,sizeof(struct convert_t))', assigned value is 0 bcftools-1.22/convert.c:1634:5: note: Null pointer dereference bcftools-1.22/convert.c:1637:15: warning: If memory allocation fails, then there is a possible null pointer dereference: convert [nullPointerOutOfMemory] bcftools-1.22/convert.c:1630:45: note: Assuming allocation function fails bcftools-1.22/convert.c:1630:26: note: Assignment 'convert=(struct convert_t*)calloc(1,sizeof(struct convert_t))', assigned value is 0 bcftools-1.22/convert.c:1637:15: note: Null pointer dereference bcftools-1.22/convert.c:1628:81: style:inconclusive: Function 'convert_init' argument 4 names different: declaration 'str' definition 'format_str'. [funcArgNamesDifferent] bcftools-1.22/convert.h:41:81: note: Function 'convert_init' argument 4 names different: declaration 'str' definition 'format_str'. bcftools-1.22/convert.c:1628:81: note: Function 'convert_init' argument 4 names different: declaration 'str' definition 'format_str'. bcftools-1.22/convert.c:1775:46: style:inconclusive: Function 'convert_line' argument 2 names different: declaration 'rec' definition 'line'. [funcArgNamesDifferent] bcftools-1.22/convert.h:45:46: note: Function 'convert_line' argument 2 names different: declaration 'rec' definition 'line'. bcftools-1.22/convert.c:1775:46: note: Function 'convert_line' argument 2 names different: declaration 'rec' definition 'line'. bcftools-1.22/convert.c:349:24: style: Local variable 'fmt' shadows outer argument [shadowArgument] bcftools-1.22/convert.c:341:78: note: Shadowed argument bcftools-1.22/convert.c:349:24: note: Shadow local variable bcftools-1.22/convert.c:139:53: style: Parameter 'line' can be declared as pointer to const. However it seems that 'process_pos' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/convert.c:1414:37: note: You might need to cast the function pointer here bcftools-1.22/convert.c:139:53: note: Parameter 'line' can be declared as pointer to const bcftools-1.22/convert.c:141:53: style: Parameter 'line' can be declared as pointer to const. However it seems that 'process_end' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/convert.c:1416:37: note: You might need to cast the function pointer here bcftools-1.22/convert.c:141:53: note: Parameter 'line' can be declared as pointer to const bcftools-1.22/convert.c:142:54: style: Parameter 'line' can be declared as pointer to const. However it seems that 'process_end0' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/convert.c:1417:38: note: You might need to cast the function pointer here bcftools-1.22/convert.c:142:54: note: Parameter 'line' can be declared as pointer to const bcftools-1.22/convert.c:145:66: style: Parameter 'fmt' can be declared as pointer to const. However it seems that 'process_alt' is a callback function, if 'fmt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/convert.c:1420:37: note: You might need to cast the function pointer here bcftools-1.22/convert.c:145:66: note: Parameter 'fmt' can be declared as pointer to const bcftools-1.22/convert.c:228:67: style: Parameter 'fmt' can be declared as pointer to const. However it seems that 'process_info' is a callback function, if 'fmt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/convert.c:1423:38: note: You might need to cast the function pointer here bcftools-1.22/convert.c:228:67: note: Parameter 'fmt' can be declared as pointer to const bcftools-1.22/convert.c:452:13: style: Variable 'x' can be declared as pointer to const [constVariablePointer] bcftools-1.22/convert.c:616:13: style: Variable 'x' can be declared as pointer to const [constVariablePointer] bcftools-1.22/convert.c:759:18: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/convert.c:1138:47: style: Parameter 'convert' can be declared as pointer to const. However it seems that 'process_variantkey_hex' is a callback function, if 'convert' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/convert.c:1438:37: note: You might need to cast the function pointer here bcftools-1.22/convert.c:1138:47: note: Parameter 'convert' can be declared as pointer to const bcftools-1.22/convert.c:1158:38: style: Parameter 'convert' can be declared as pointer to const. However it seems that 'process_npass' is a callback function, if 'convert' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/convert.c:1440:39: note: You might need to cast the function pointer here bcftools-1.22/convert.c:1158:38: note: Parameter 'convert' can be declared as pointer to const bcftools-1.22/convert.c:1312:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/convert.c:1628:46: style: Parameter 'samples' can be declared as pointer to const [constParameterPointer] bcftools-1.22/convert.c:1864:15: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] bcftools-1.22/convert.c:1922:35: style: Parameter 'convert' can be declared as pointer to const [constParameterPointer] bcftools-1.22/convert.c:665:85: style: Variable 'i' is assigned a value that is never used. [unreadVariable] bcftools-1.22/csq.c:308:1: error: There is an unknown macro here somewhere. Configuration is required. If KHASH_MAP_INIT_INT is a macro then please configure it. [unknownMacro] bcftools-1.22/dist.c:48:5: warning: If memory allocation fails, then there is a possible null pointer dereference: dist [nullPointerOutOfMemory] bcftools-1.22/dist.c:47:36: note: Assuming allocation function fails bcftools-1.22/dist.c:47:20: note: Assignment 'dist=(struct dist_t*)calloc(1,sizeof(struct dist_t))', assigned value is 0 bcftools-1.22/dist.c:48:5: note: Null pointer dereference bcftools-1.22/dist.c:49:5: warning: If memory allocation fails, then there is a possible null pointer dereference: dist [nullPointerOutOfMemory] bcftools-1.22/dist.c:47:36: note: Assuming allocation function fails bcftools-1.22/dist.c:47:20: note: Assignment 'dist=(struct dist_t*)calloc(1,sizeof(struct dist_t))', assigned value is 0 bcftools-1.22/dist.c:49:5: note: Null pointer dereference bcftools-1.22/dist.c:50:5: warning: If memory allocation fails, then there is a possible null pointer dereference: dist [nullPointerOutOfMemory] bcftools-1.22/dist.c:47:36: note: Assuming allocation function fails bcftools-1.22/dist.c:47:20: note: Assignment 'dist=(struct dist_t*)calloc(1,sizeof(struct dist_t))', assigned value is 0 bcftools-1.22/dist.c:50:5: note: Null pointer dereference bcftools-1.22/dist.c:50:20: warning: If memory allocation fails, then there is a possible null pointer dereference: dist [nullPointerOutOfMemory] bcftools-1.22/dist.c:47:36: note: Assuming allocation function fails bcftools-1.22/dist.c:47:20: note: Assignment 'dist=(struct dist_t*)calloc(1,sizeof(struct dist_t))', assigned value is 0 bcftools-1.22/dist.c:50:20: note: Null pointer dereference bcftools-1.22/dist.c:61:24: style: Parameter 'dist' can be declared as pointer to const [constParameterPointer] bcftools-1.22/dist.c:66:26: style: Parameter 'dist' can be declared as pointer to const [constParameterPointer] bcftools-1.22/dist.c:104:27: style: Parameter 'dist' can be declared as pointer to const [constParameterPointer] bcftools-1.22/edlib.c:478:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable score [valueFlowBailoutIncompleteVar] bcftools-1.22/edlib.c:47:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ed [nullPointerOutOfMemory] bcftools-1.22/edlib.c:43:36: note: Assuming allocation function fails bcftools-1.22/edlib.c:43:36: note: Assignment 'ed=malloc(sizeof(*ed))', assigned value is 0 bcftools-1.22/edlib.c:47:6: note: Null pointer dereference bcftools-1.22/edlib.c:270:13: warning: If memory allocation fails, then there is a possible null pointer dereference: Peq [nullPointerOutOfMemory] bcftools-1.22/edlib.c:257:23: note: Assuming allocation function fails bcftools-1.22/edlib.c:257:23: note: Assignment 'Peq=malloc((alphabetLength+1)*maxNumBlocks*sizeof(*Peq))', assigned value is 0 bcftools-1.22/edlib.c:270:13: note: Null pointer dereference bcftools-1.22/edlib.c:277:13: warning: If memory allocation fails, then there is a possible null pointer dereference: Peq [nullPointerOutOfMemory] bcftools-1.22/edlib.c:257:23: note: Assuming allocation function fails bcftools-1.22/edlib.c:257:23: note: Assignment 'Peq=malloc((alphabetLength+1)*maxNumBlocks*sizeof(*Peq))', assigned value is 0 bcftools-1.22/edlib.c:277:13: note: Null pointer dereference bcftools-1.22/edlib.c:292:9: warning: If memory allocation fails, then there is a possible null pointer dereference: rSeq [nullPointerOutOfMemory] bcftools-1.22/edlib.c:290:33: note: Assuming allocation function fails bcftools-1.22/edlib.c:290:33: note: Assignment 'rSeq=malloc(length)', assigned value is 0 bcftools-1.22/edlib.c:292:9: note: Null pointer dereference bcftools-1.22/edlib.c:369:9: warning: If memory allocation fails, then there is a possible null pointer dereference: scores [nullPointerOutOfMemory] bcftools-1.22/edlib.c:365:25: note: Assuming allocation function fails bcftools-1.22/edlib.c:365:25: note: Assignment 'scores=malloc(WORD_SIZE*sizeof(*scores))', assigned value is 0 bcftools-1.22/edlib.c:369:9: note: Null pointer dereference bcftools-1.22/edlib.c:374:5: warning: If memory allocation fails, then there is a possible null pointer dereference: scores [nullPointerOutOfMemory] bcftools-1.22/edlib.c:365:25: note: Assuming allocation function fails bcftools-1.22/edlib.c:365:25: note: Assignment 'scores=malloc(WORD_SIZE*sizeof(*scores))', assigned value is 0 bcftools-1.22/edlib.c:374:5: note: Null pointer dereference bcftools-1.22/edlib.c:100:47: style:inconclusive: Function 'edlibAlign' argument 1 names different: declaration 'query' definition 'queryOriginal'. [funcArgNamesDifferent] bcftools-1.22/edlib.h:243:21: note: Function 'edlibAlign' argument 1 names different: declaration 'query' definition 'queryOriginal'. bcftools-1.22/edlib.c:100:47: note: Function 'edlibAlign' argument 1 names different: declaration 'query' definition 'queryOriginal'. bcftools-1.22/edlib.c:101:26: style:inconclusive: Function 'edlibAlign' argument 3 names different: declaration 'target' definition 'targetOriginal'. [funcArgNamesDifferent] bcftools-1.22/edlib.h:244:21: note: Function 'edlibAlign' argument 3 names different: declaration 'target' definition 'targetOriginal'. bcftools-1.22/edlib.c:101:26: note: Function 'edlibAlign' argument 3 names different: declaration 'target' definition 'targetOriginal'. bcftools-1.22/edlib.c:352:18: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] bcftools-1.22/edlib.c:16:39: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] bcftools-1.22/edlib.c:499:37: style: Variable 'Peq_c' is assigned a value that is never used. [unreadVariable] bcftools-1.22/em.c:72:16: style: Variable 'a' can be declared as pointer to const [constVariablePointer] bcftools-1.22/em.c:144:70: style: Parameter 'f3' can be declared as const array [constParameter] bcftools-1.22/em.c:193:21: style: Variable 'p' can be declared as pointer to const [constVariablePointer] bcftools-1.22/extsort.c:156:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] bcftools-1.22/extsort.c:90:5: warning: If memory allocation fails, then there is a possible null pointer dereference: es [nullPointerOutOfMemory] bcftools-1.22/extsort.c:89:40: note: Assuming allocation function fails bcftools-1.22/extsort.c:89:21: note: Assignment 'es=(struct extsort_t*)calloc(1,sizeof(*es))', assigned value is 0 bcftools-1.22/extsort.c:90:5: note: Null pointer dereference bcftools-1.22/extsort.c:135:5: warning: If memory allocation fails, then there is a possible null pointer dereference: blk [nullPointerOutOfMemory] bcftools-1.22/extsort.c:133:42: note: Assuming allocation function fails bcftools-1.22/extsort.c:133:27: note: Assignment 'es->blk[es->nblk-1]=(struct blk_t*)calloc(1,sizeof(struct blk_t))', assigned value is 0 bcftools-1.22/extsort.c:134:16: note: blk is assigned 'es->blk[es->nblk-1]' here. bcftools-1.22/extsort.c:135:5: note: Null pointer dereference bcftools-1.22/extsort.c:136:5: warning: If memory allocation fails, then there is a possible null pointer dereference: blk [nullPointerOutOfMemory] bcftools-1.22/extsort.c:133:42: note: Assuming allocation function fails bcftools-1.22/extsort.c:133:27: note: Assignment 'es->blk[es->nblk-1]=(struct blk_t*)calloc(1,sizeof(struct blk_t))', assigned value is 0 bcftools-1.22/extsort.c:134:16: note: blk is assigned 'es->blk[es->nblk-1]' here. bcftools-1.22/extsort.c:136:5: note: Null pointer dereference bcftools-1.22/extsort.c:137:5: warning: If memory allocation fails, then there is a possible null pointer dereference: blk [nullPointerOutOfMemory] bcftools-1.22/extsort.c:133:42: note: Assuming allocation function fails bcftools-1.22/extsort.c:133:27: note: Assignment 'es->blk[es->nblk-1]=(struct blk_t*)calloc(1,sizeof(struct blk_t))', assigned value is 0 bcftools-1.22/extsort.c:134:16: note: blk is assigned 'es->blk[es->nblk-1]' here. bcftools-1.22/extsort.c:137:5: note: Null pointer dereference bcftools-1.22/extsort.c:154:15: warning: If memory allocation fails, then there is a possible null pointer dereference: blk [nullPointerOutOfMemory] bcftools-1.22/extsort.c:133:42: note: Assuming allocation function fails bcftools-1.22/extsort.c:133:27: note: Assignment 'es->blk[es->nblk-1]=(struct blk_t*)calloc(1,sizeof(struct blk_t))', assigned value is 0 bcftools-1.22/extsort.c:134:16: note: blk is assigned 'es->blk[es->nblk-1]' here. bcftools-1.22/extsort.c:154:15: note: Null pointer dereference bcftools-1.22/extsort.c:154:33: warning: If memory allocation fails, then there is a possible null pointer dereference: blk [nullPointerOutOfMemory] bcftools-1.22/extsort.c:133:42: note: Assuming allocation function fails bcftools-1.22/extsort.c:133:27: note: Assignment 'es->blk[es->nblk-1]=(struct blk_t*)calloc(1,sizeof(struct blk_t))', assigned value is 0 bcftools-1.22/extsort.c:134:16: note: blk is assigned 'es->blk[es->nblk-1]' here. bcftools-1.22/extsort.c:154:33: note: Null pointer dereference bcftools-1.22/extsort.c:156:21: warning: If memory allocation fails, then there is a possible null pointer dereference: blk [nullPointerOutOfMemory] bcftools-1.22/extsort.c:133:42: note: Assuming allocation function fails bcftools-1.22/extsort.c:133:27: note: Assignment 'es->blk[es->nblk-1]=(struct blk_t*)calloc(1,sizeof(struct blk_t))', assigned value is 0 bcftools-1.22/extsort.c:134:16: note: blk is assigned 'es->blk[es->nblk-1]' here. bcftools-1.22/extsort.c:156:21: note: Null pointer dereference bcftools-1.22/extsort.c:157:16: warning: If memory allocation fails, then there is a possible null pointer dereference: blk [nullPointerOutOfMemory] bcftools-1.22/extsort.c:133:42: note: Assuming allocation function fails bcftools-1.22/extsort.c:133:27: note: Assignment 'es->blk[es->nblk-1]=(struct blk_t*)calloc(1,sizeof(struct blk_t))', assigned value is 0 bcftools-1.22/extsort.c:134:16: note: blk is assigned 'es->blk[es->nblk-1]' here. bcftools-1.22/extsort.c:157:16: note: Null pointer dereference bcftools-1.22/extsort.c:165:24: warning: If memory allocation fails, then there is a possible null pointer dereference: blk [nullPointerOutOfMemory] bcftools-1.22/extsort.c:133:42: note: Assuming allocation function fails bcftools-1.22/extsort.c:133:27: note: Assignment 'es->blk[es->nblk-1]=(struct blk_t*)calloc(1,sizeof(struct blk_t))', assigned value is 0 bcftools-1.22/extsort.c:134:25: note: Assignment 'blk=es->blk[es->nblk-1]', assigned value is 0 bcftools-1.22/extsort.c:165:24: note: Null pointer dereference bcftools-1.22/extsort.c:80:26: style: Checking if unsigned expression 'es->max_mem' is less than zero. [unsignedLessThanZero] bcftools-1.22/filter.c:444:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:485:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:771:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:949:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:976:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_missing [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:1257:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int8_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:1366:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_FMT [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:1435:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_INFO [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:1505:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:1553:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:1572:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:1620:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:2133:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_VL_R [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:2232:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:2852:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:3003:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_SAMPLE [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:3089:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:3101:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_VL_FIXED [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:3118:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_VL_FIXED [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:3486:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:3639:111: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:3701:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_STR [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:4130:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:4173:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_HT_STR [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:4205:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l [valueFlowBailoutIncompleteVar] bcftools-1.22/filter.c:2163:22: style: Condition '!n11' is always false [knownConditionTrueFalse] bcftools-1.22/filter.c:2163:30: style: Condition '!n12' is always false [knownConditionTrueFalse] bcftools-1.22/filter.c:2163:38: style: Condition '!n21' is always false [knownConditionTrueFalse] bcftools-1.22/filter.c:2163:46: style: Condition '!n22' is always false [knownConditionTrueFalse] bcftools-1.22/filter.c:404:38: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] bcftools-1.22/filter.c:742:32: warning: Either the condition '!regex' is redundant or there is possible null pointer dereference: regex. [nullPointerRedundantCheck] bcftools-1.22/filter.c:741:22: note: Assuming that condition '!regex' is not redundant bcftools-1.22/filter.c:742:32: note: Null pointer dereference bcftools-1.22/filter.c:2910:10: warning: If memory allocation fails, then there is a possible null pointer dereference: *idxs [nullPointerOutOfMemory] bcftools-1.22/filter.c:2909:30: note: Assuming allocation function fails bcftools-1.22/filter.c:2909:17: note: Assignment '*idxs=(int*)malloc(sizeof(int))', assigned value is 0 bcftools-1.22/filter.c:2910:10: note: Null pointer dereference bcftools-1.22/filter.c:2918:10: warning: If memory allocation fails, then there is a possible null pointer dereference: *idxs [nullPointerOutOfMemory] bcftools-1.22/filter.c:2917:30: note: Assuming allocation function fails bcftools-1.22/filter.c:2917:17: note: Assignment '*idxs=(int*)malloc(sizeof(int))', assigned value is 0 bcftools-1.22/filter.c:2918:10: note: Null pointer dereference bcftools-1.22/filter.c:3482:42: warning: Possible null pointer dereference: tok_ptrs [nullPointer] bcftools-1.22/filter.c:4106:36: note: Calling function 'filter_debug_print', 2nd argument 'NULL' value is 0 bcftools-1.22/filter.c:3482:42: note: Null pointer dereference bcftools-1.22/filter.c:2094:57: warning: Either the condition '!n11' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] bcftools-1.22/filter.c:2097:22: note: Assuming that condition '!n11' is not redundant bcftools-1.22/filter.c:2093:29: note: n11 is assigned 'tok->values+tok->nval1*i' here. bcftools-1.22/filter.c:2094:57: note: Null pointer addition bcftools-1.22/filter.c:2095:57: warning: Either the condition '!n11' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] bcftools-1.22/filter.c:2097:22: note: Assuming that condition '!n11' is not redundant bcftools-1.22/filter.c:2093:29: note: n11 is assigned 'tok->values+tok->nval1*i' here. bcftools-1.22/filter.c:2095:57: note: Null pointer addition bcftools-1.22/filter.c:2096:57: warning: Either the condition '!n11' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] bcftools-1.22/filter.c:2097:22: note: Assuming that condition '!n11' is not redundant bcftools-1.22/filter.c:2093:29: note: n11 is assigned 'tok->values+tok->nval1*i' here. bcftools-1.22/filter.c:2096:57: note: Null pointer addition bcftools-1.22/filter.c:2117:57: warning: Either the condition '!n11' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] bcftools-1.22/filter.c:2120:22: note: Assuming that condition '!n11' is not redundant bcftools-1.22/filter.c:2116:29: note: n11 is assigned 'tok->values+tok->nval1*i' here. bcftools-1.22/filter.c:2117:57: note: Null pointer addition bcftools-1.22/filter.c:2119:59: warning: Either the condition '!n21' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] bcftools-1.22/filter.c:2120:38: note: Assuming that condition '!n21' is not redundant bcftools-1.22/filter.c:2118:29: note: n21 is assigned 'tok2->values+tok2->nval1*i' here. bcftools-1.22/filter.c:2119:59: note: Null pointer addition bcftools-1.22/filter.c:752:33: style: Same expression on both sides of '||'. [duplicateExpression] bcftools-1.22/filter.c:798:116: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] bcftools-1.22/filter.c:799:116: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] bcftools-1.22/filter.c:800:116: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] bcftools-1.22/filter.c:801:123: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] bcftools-1.22/filter.c:341:60: style:inconclusive: Function 'filter_list_undef_tags' argument 2 names different: declaration 'nundef' definition 'ntags'. [funcArgNamesDifferent] bcftools-1.22/filter.h:103:60: note: Function 'filter_list_undef_tags' argument 2 names different: declaration 'nundef' definition 'ntags'. bcftools-1.22/filter.c:341:60: note: Function 'filter_list_undef_tags' argument 2 names different: declaration 'nundef' definition 'ntags'. bcftools-1.22/filter.c:366:59: style:inconclusive: Function 'filter_list_used_tags' argument 2 names different: declaration 'nused' definition 'ntags'. [funcArgNamesDifferent] bcftools-1.22/filter.h:104:59: note: Function 'filter_list_used_tags' argument 2 names different: declaration 'nused' definition 'ntags'. bcftools-1.22/filter.c:366:59: note: Function 'filter_list_used_tags' argument 2 names different: declaration 'nused' definition 'ntags'. bcftools-1.22/filter.c:4190:43: style:inconclusive: Function 'filter_test' argument 2 names different: declaration 'rec' definition 'line'. [funcArgNamesDifferent] bcftools-1.22/filter.h:50:43: note: Function 'filter_test' argument 2 names different: declaration 'rec' definition 'line'. bcftools-1.22/filter.c:4190:43: note: Function 'filter_test' argument 2 names different: declaration 'rec' definition 'line'. bcftools-1.22/filter.c:4322:33: style:inconclusive: Function 'filter_max_unpack' argument 1 names different: declaration 'filter' definition 'flt'. [funcArgNamesDifferent] bcftools-1.22/filter.h:80:33: note: Function 'filter_max_unpack' argument 1 names different: declaration 'filter' definition 'flt'. bcftools-1.22/filter.c:4322:33: note: Function 'filter_max_unpack' argument 1 names different: declaration 'filter' definition 'flt'. bcftools-1.22/filter.c:4049:22: style: Local variable 'tmp' shadows outer variable [shadowVariable] bcftools-1.22/filter.c:3708:11: note: Shadowed variable bcftools-1.22/filter.c:4049:22: note: Shadow local variable bcftools-1.22/filter.c:530:31: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] bcftools-1.22/filter.c:532:31: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] bcftools-1.22/filter.c:4074:54: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] bcftools-1.22/filter.c:4312:50: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] bcftools-1.22/filter.c:329:58: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] bcftools-1.22/filter.c:525:42: style: Parameter 'atok' can be declared as pointer to const. However it seems that 'filters_cmp_bit_and' is a callback function, if 'atok' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/filter.c:3998:105: note: You might need to cast the function pointer here bcftools-1.22/filter.c:525:42: note: Parameter 'atok' can be declared as pointer to const bcftools-1.22/filter.c:525:57: style: Parameter 'btok' can be declared as pointer to const. However it seems that 'filters_cmp_bit_and' is a callback function, if 'btok' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/filter.c:3998:105: note: You might need to cast the function pointer here bcftools-1.22/filter.c:525:57: note: Parameter 'btok' can be declared as pointer to const bcftools-1.22/filter.c:534:56: style: Parameter 'btok' can be declared as pointer to const. However it seems that 'filters_cmp_filter' is a callback function, if 'btok' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/filter.c:3192:31: note: You might need to cast the function pointer here bcftools-1.22/filter.c:534:56: note: Parameter 'btok' can be declared as pointer to const bcftools-1.22/filter.c:534:85: style: Parameter 'line' can be declared as pointer to const. However it seems that 'filters_cmp_filter' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/filter.c:3192:31: note: You might need to cast the function pointer here bcftools-1.22/filter.c:534:85: note: Parameter 'line' can be declared as pointer to const bcftools-1.22/filter.c:740:26: style: Variable 'regex' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:816:52: style: Parameter 'line' can be declared as pointer to const. However it seems that 'filters_set_pos' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/filter.c:3218:28: note: You might need to cast the function pointer here bcftools-1.22/filter.c:816:52: note: Parameter 'line' can be declared as pointer to const bcftools-1.22/filter.c:945:58: style: Parameter 'line' can be declared as pointer to const. However it seems that 'filters_set_info_flag' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/filter.c:3350:31: note: You might need to cast the function pointer here bcftools-1.22/filter.c:945:58: note: Parameter 'line' can be declared as pointer to const bcftools-1.22/filter.c:975:22: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:994:22: style: Variable 'src' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:1012:22: style: Variable 'src' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:1306:53: style: Parameter 'line' can be declared as pointer to const. However it seems that 'filters_set_ilen' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/filter.c:3442:24: note: You might need to cast the function pointer here bcftools-1.22/filter.c:1306:53: note: Parameter 'line' can be declared as pointer to const bcftools-1.22/filter.c:1427:53: style: Parameter 'line' can be declared as pointer to const. However it seems that 'filters_set_nalt' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/filter.c:3248:28: note: You might need to cast the function pointer here bcftools-1.22/filter.c:1427:53: note: Parameter 'line' can be declared as pointer to const bcftools-1.22/filter.c:1505:13: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:1549:18: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:1572:13: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:1616:18: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:1639:13: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:1679:18: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:1864:13: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:1904:18: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:1924:14: style: Variable 'tok' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:1963:14: style: Variable 'tok' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:1972:21: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:2241:25: style: Variable 'vals' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:2264:25: style: Variable 'ptr1' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:2265:25: style: Variable 'ptr2' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:2286:17: style: Variable 'ptr1' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:2286:31: style: Variable 'ptr2' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:2319:14: style: Variable 'tok' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:2359:14: style: Variable 'tok' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:2753:43: style: Parameter 'regex' can be declared as pointer to const [constParameterPointer] bcftools-1.22/filter.c:2753:89: style: Parameter 'missing_logic' can be declared as pointer to const [constParameterPointer] bcftools-1.22/filter.c:2755:11: style: Variable 'end' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:2789:107: style: Parameter 'missing_logic' can be declared as pointer to const [constParameterPointer] bcftools-1.22/filter.c:2791:11: style: Variable 'aend' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:2792:11: style: Variable 'bend' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:2925:17: style: Variable 'beg' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:3099:54: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] bcftools-1.22/filter.c:3482:18: style: Variable 'tok' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:3503:32: style: Parameter 'flt' can be declared as pointer to const. However it seems that 'perl_exec' is a callback function, if 'flt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/filter.c:4090:66: note: You might need to cast the function pointer here bcftools-1.22/filter.c:3503:32: note: Parameter 'flt' can be declared as pointer to const bcftools-1.22/filter.c:3503:45: style: Parameter 'line' can be declared as pointer to const. However it seems that 'perl_exec' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/filter.c:4090:66: note: You might need to cast the function pointer here bcftools-1.22/filter.c:3503:45: note: Parameter 'line' can be declared as pointer to const bcftools-1.22/filter.c:3503:60: style: Parameter 'rtok' can be declared as pointer to const. However it seems that 'perl_exec' is a callback function, if 'rtok' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/filter.c:4090:66: note: You might need to cast the function pointer here bcftools-1.22/filter.c:3503:60: note: Parameter 'rtok' can be declared as pointer to const bcftools-1.22/filter.c:3563:33: style: Parameter 'filter' can be declared as pointer to const [constParameterPointer] bcftools-1.22/filter.c:3565:11: style: Variable 'beg' can be declared as pointer to const [constVariablePointer] bcftools-1.22/filter.c:3608:36: style: Parameter 'filter' can be declared as pointer to const [constParameterPointer] bcftools-1.22/filter.c:4322:33: style: Parameter 'flt' can be declared as pointer to const [constParameterPointer] bcftools-1.22/filter.c:4326:39: style: Parameter 'filter' can be declared as pointer to const [constParameterPointer] bcftools-1.22/filter.c:4359:29: style: Parameter 'filter' can be declared as pointer to const [constParameterPointer] bcftools-1.22/filter.c:458:40: warning: Shifting 32-bit value by 63 bits is undefined behaviour. See condition at line 446. [shiftTooManyBits] bcftools-1.22/filter.c:446:25: note: Assuming that condition 'allele>63' is not redundant bcftools-1.22/filter.c:458:40: note: Shift bcftools-1.22/gff.c:49:1: error: There is an unknown macro here somewhere. Configuration is required. If KHASH_MAP_INIT_INT is a macro then please configure it. [unknownMacro] bcftools-1.22/gvcf.c:104:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_ALL [valueFlowBailoutIncompleteVar] bcftools-1.22/gvcf.c:49:5: warning: If memory allocation fails, then there is a possible null pointer dereference: gvcf [nullPointerOutOfMemory] bcftools-1.22/gvcf.c:48:36: note: Assuming allocation function fails bcftools-1.22/gvcf.c:48:20: note: Assignment 'gvcf=(struct gvcf_t*)calloc(1,sizeof(struct gvcf_t))', assigned value is 0 bcftools-1.22/gvcf.c:49:5: note: Null pointer dereference bcftools-1.22/gvcf.c:58:5: warning: If memory allocation fails, then there is a possible null pointer dereference: gvcf [nullPointerOutOfMemory] bcftools-1.22/gvcf.c:48:36: note: Assuming allocation function fails bcftools-1.22/gvcf.c:48:20: note: Assignment 'gvcf=(struct gvcf_t*)calloc(1,sizeof(struct gvcf_t))', assigned value is 0 bcftools-1.22/gvcf.c:58:5: note: Null pointer dereference bcftools-1.22/gvcf.c:59:5: warning: If memory allocation fails, then there is a possible null pointer dereference: gvcf [nullPointerOutOfMemory] bcftools-1.22/gvcf.c:48:36: note: Assuming allocation function fails bcftools-1.22/gvcf.c:48:20: note: Assignment 'gvcf=(struct gvcf_t*)calloc(1,sizeof(struct gvcf_t))', assigned value is 0 bcftools-1.22/gvcf.c:59:5: note: Null pointer dereference bcftools-1.22/gvcf.c:59:49: warning: If memory allocation fails, then there is a possible null pointer dereference: gvcf [nullPointerOutOfMemory] bcftools-1.22/gvcf.c:48:36: note: Assuming allocation function fails bcftools-1.22/gvcf.c:48:20: note: Assignment 'gvcf=(struct gvcf_t*)calloc(1,sizeof(struct gvcf_t))', assigned value is 0 bcftools-1.22/gvcf.c:59:49: note: Null pointer dereference bcftools-1.22/gvcf.c:66:9: warning: If memory allocation fails, then there is a possible null pointer dereference: gvcf [nullPointerOutOfMemory] bcftools-1.22/gvcf.c:48:36: note: Assuming allocation function fails bcftools-1.22/gvcf.c:48:20: note: Assignment 'gvcf=(struct gvcf_t*)calloc(1,sizeof(struct gvcf_t))', assigned value is 0 bcftools-1.22/gvcf.c:66:9: note: Null pointer dereference bcftools-1.22/hclust.c:141:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] bcftools-1.22/hclust.c:319:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] bcftools-1.22/hclust.c:215:43: style: Condition 'node->akid' is always true [knownConditionTrueFalse] bcftools-1.22/hclust.c:223:43: style: Condition 'node->bkid' is always true [knownConditionTrueFalse] bcftools-1.22/hclust.c:58:5: warning: If memory allocation fails, then there is a possible null pointer dereference: clust [nullPointerOutOfMemory] bcftools-1.22/hclust.c:128:41: note: Assuming allocation function fails bcftools-1.22/hclust.c:128:23: note: Assignment 'clust=(struct hclust_t*)calloc(1,sizeof(struct hclust_t))', assigned value is 0 bcftools-1.22/hclust.c:135:47: note: Calling function 'append_node', 1st argument 'clust' value is 0 bcftools-1.22/hclust.c:58:5: note: Null pointer dereference bcftools-1.22/hclust.c:59:5: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] bcftools-1.22/hclust.c:56:36: note: Assuming allocation function fails bcftools-1.22/hclust.c:56:20: note: Assignment 'node=(struct node_t*)calloc(1,sizeof(struct node_t))', assigned value is 0 bcftools-1.22/hclust.c:59:5: note: Null pointer dereference bcftools-1.22/hclust.c:59:17: warning: If memory allocation fails, then there is a possible null pointer dereference: clust [nullPointerOutOfMemory] bcftools-1.22/hclust.c:128:41: note: Assuming allocation function fails bcftools-1.22/hclust.c:128:23: note: Assignment 'clust=(struct hclust_t*)calloc(1,sizeof(struct hclust_t))', assigned value is 0 bcftools-1.22/hclust.c:135:47: note: Calling function 'append_node', 1st argument 'clust' value is 0 bcftools-1.22/hclust.c:59:17: note: Null pointer dereference bcftools-1.22/hclust.c:60:5: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] bcftools-1.22/hclust.c:56:36: note: Assuming allocation function fails bcftools-1.22/hclust.c:56:20: note: Assignment 'node=(struct node_t*)calloc(1,sizeof(struct node_t))', assigned value is 0 bcftools-1.22/hclust.c:60:5: note: Null pointer dereference bcftools-1.22/hclust.c:61:11: warning: If memory allocation fails, then there is a possible null pointer dereference: clust [nullPointerOutOfMemory] bcftools-1.22/hclust.c:128:41: note: Assuming allocation function fails bcftools-1.22/hclust.c:128:23: note: Assignment 'clust=(struct hclust_t*)calloc(1,sizeof(struct hclust_t))', assigned value is 0 bcftools-1.22/hclust.c:135:47: note: Calling function 'append_node', 1st argument 'clust' value is 0 bcftools-1.22/hclust.c:61:11: note: Null pointer dereference bcftools-1.22/hclust.c:73:10: warning: If memory allocation fails, then there is a possible null pointer dereference: clust [nullPointerOutOfMemory] bcftools-1.22/hclust.c:128:41: note: Assuming allocation function fails bcftools-1.22/hclust.c:128:23: note: Assignment 'clust=(struct hclust_t*)calloc(1,sizeof(struct hclust_t))', assigned value is 0 bcftools-1.22/hclust.c:135:47: note: Calling function 'append_node', 1st argument 'clust' value is 0 bcftools-1.22/hclust.c:73:10: note: Null pointer dereference bcftools-1.22/hclust.c:73:26: warning: If memory allocation fails, then there is a possible null pointer dereference: clust [nullPointerOutOfMemory] bcftools-1.22/hclust.c:128:41: note: Assuming allocation function fails bcftools-1.22/hclust.c:128:23: note: Assignment 'clust=(struct hclust_t*)calloc(1,sizeof(struct hclust_t))', assigned value is 0 bcftools-1.22/hclust.c:135:47: note: Calling function 'append_node', 1st argument 'clust' value is 0 bcftools-1.22/hclust.c:73:26: note: Null pointer dereference bcftools-1.22/hclust.c:74:5: warning: If memory allocation fails, then there is a possible null pointer dereference: clust [nullPointerOutOfMemory] bcftools-1.22/hclust.c:128:41: note: Assuming allocation function fails bcftools-1.22/hclust.c:128:23: note: Assignment 'clust=(struct hclust_t*)calloc(1,sizeof(struct hclust_t))', assigned value is 0 bcftools-1.22/hclust.c:135:47: note: Calling function 'append_node', 1st argument 'clust' value is 0 bcftools-1.22/hclust.c:74:5: note: Null pointer dereference bcftools-1.22/hclust.c:74:17: warning: If memory allocation fails, then there is a possible null pointer dereference: clust [nullPointerOutOfMemory] bcftools-1.22/hclust.c:128:41: note: Assuming allocation function fails bcftools-1.22/hclust.c:128:23: note: Assignment 'clust=(struct hclust_t*)calloc(1,sizeof(struct hclust_t))', assigned value is 0 bcftools-1.22/hclust.c:135:47: note: Calling function 'append_node', 1st argument 'clust' value is 0 bcftools-1.22/hclust.c:74:17: note: Null pointer dereference bcftools-1.22/hclust.c:129:5: warning: If memory allocation fails, then there is a possible null pointer dereference: clust [nullPointerOutOfMemory] bcftools-1.22/hclust.c:128:41: note: Assuming allocation function fails bcftools-1.22/hclust.c:128:23: note: Assignment 'clust=(struct hclust_t*)calloc(1,sizeof(struct hclust_t))', assigned value is 0 bcftools-1.22/hclust.c:129:5: note: Null pointer dereference bcftools-1.22/hclust.c:130:5: warning: If memory allocation fails, then there is a possible null pointer dereference: clust [nullPointerOutOfMemory] bcftools-1.22/hclust.c:128:41: note: Assuming allocation function fails bcftools-1.22/hclust.c:128:23: note: Assignment 'clust=(struct hclust_t*)calloc(1,sizeof(struct hclust_t))', assigned value is 0 bcftools-1.22/hclust.c:130:5: note: Null pointer dereference bcftools-1.22/hclust.c:131:5: warning: If memory allocation fails, then there is a possible null pointer dereference: clust [nullPointerOutOfMemory] bcftools-1.22/hclust.c:128:41: note: Assuming allocation function fails bcftools-1.22/hclust.c:128:23: note: Assignment 'clust=(struct hclust_t*)calloc(1,sizeof(struct hclust_t))', assigned value is 0 bcftools-1.22/hclust.c:131:5: note: Null pointer dereference bcftools-1.22/hclust.c:135:17: warning: If memory allocation fails, then there is a possible null pointer dereference: clust [nullPointerOutOfMemory] bcftools-1.22/hclust.c:128:41: note: Assuming allocation function fails bcftools-1.22/hclust.c:128:23: note: Assignment 'clust=(struct hclust_t*)calloc(1,sizeof(struct hclust_t))', assigned value is 0 bcftools-1.22/hclust.c:135:17: note: Null pointer dereference bcftools-1.22/hclust.c:138:13: warning: If memory allocation fails, then there is a possible null pointer dereference: clust [nullPointerOutOfMemory] bcftools-1.22/hclust.c:128:41: note: Assuming allocation function fails bcftools-1.22/hclust.c:128:23: note: Assignment 'clust=(struct hclust_t*)calloc(1,sizeof(struct hclust_t))', assigned value is 0 bcftools-1.22/hclust.c:138:13: note: Null pointer dereference bcftools-1.22/hclust.c:142:26: warning: If memory allocation fails, then there is a possible null pointer dereference: clust [nullPointerOutOfMemory] bcftools-1.22/hclust.c:128:41: note: Assuming allocation function fails bcftools-1.22/hclust.c:128:23: note: Assignment 'clust=(struct hclust_t*)calloc(1,sizeof(struct hclust_t))', assigned value is 0 bcftools-1.22/hclust.c:142:26: note: Null pointer dereference bcftools-1.22/hclust.c:146:30: warning: If memory allocation fails, then there is a possible null pointer dereference: clust [nullPointerOutOfMemory] bcftools-1.22/hclust.c:128:41: note: Assuming allocation function fails bcftools-1.22/hclust.c:128:23: note: Assignment 'clust=(struct hclust_t*)calloc(1,sizeof(struct hclust_t))', assigned value is 0 bcftools-1.22/hclust.c:146:30: note: Null pointer dereference bcftools-1.22/hclust.c:149:31: warning: If memory allocation fails, then there is a possible null pointer dereference: clust [nullPointerOutOfMemory] bcftools-1.22/hclust.c:128:41: note: Assuming allocation function fails bcftools-1.22/hclust.c:128:23: note: Assignment 'clust=(struct hclust_t*)calloc(1,sizeof(struct hclust_t))', assigned value is 0 bcftools-1.22/hclust.c:149:31: note: Null pointer dereference bcftools-1.22/hclust.c:352:5: warning: If memory allocation fails, then there is a possible null pointer dereference: stack [nullPointerOutOfMemory] bcftools-1.22/hclust.c:350:39: note: Assuming allocation function fails bcftools-1.22/hclust.c:350:22: note: Assignment 'stack=(struct node_t**)malloc(sizeof(struct node_t*)*clust->ndat)', assigned value is 0 bcftools-1.22/hclust.c:352:5: note: Null pointer dereference bcftools-1.22/hclust.c:358:10: warning: If memory allocation fails, then there is a possible null pointer dereference: stack [nullPointerOutOfMemory] bcftools-1.22/hclust.c:350:39: note: Assuming allocation function fails bcftools-1.22/hclust.c:350:22: note: Assignment 'stack=(struct node_t**)malloc(sizeof(struct node_t*)*clust->ndat)', assigned value is 0 bcftools-1.22/hclust.c:358:10: note: Null pointer dereference bcftools-1.22/hclust.c:367:24: warning: If memory allocation fails, then there is a possible null pointer dereference: stack [nullPointerOutOfMemory] bcftools-1.22/hclust.c:350:39: note: Assuming allocation function fails bcftools-1.22/hclust.c:350:22: note: Assignment 'stack=(struct node_t**)malloc(sizeof(struct node_t*)*clust->ndat)', assigned value is 0 bcftools-1.22/hclust.c:367:24: note: Null pointer dereference bcftools-1.22/hclust.c:266:17: style: Local variable 'node' shadows outer argument [shadowArgument] bcftools-1.22/hclust.c:252:35: note: Shadowed argument bcftools-1.22/hclust.c:266:17: note: Shadow local variable bcftools-1.22/hclust.c:358:18: error: Memory is allocated but not initialized: stack[0]->value [uninitdata] bcftools-1.22/kmin.c:52:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: x1 [nullPointerOutOfMemory] bcftools-1.22/kmin.c:71:22: note: Assuming allocation function fails bcftools-1.22/kmin.c:71:7: note: Assignment 'x1=(double*)calloc(n,sizeof(double))', assigned value is 0 bcftools-1.22/kmin.c:81:32: note: Calling function '__kmin_hj_aux', 3rd argument 'x1' value is 0 bcftools-1.22/kmin.c:52:3: note: Null pointer dereference bcftools-1.22/kmin.c:52:12: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: dx [nullPointerOutOfMemory] bcftools-1.22/kmin.c:72:22: note: Assuming allocation function fails bcftools-1.22/kmin.c:72:7: note: Assignment 'dx=(double*)calloc(n,sizeof(double))', assigned value is 0 bcftools-1.22/kmin.c:81:46: note: Calling function '__kmin_hj_aux', 6th argument 'dx' value is 0 bcftools-1.22/kmin.c:52:12: note: Null pointer dereference bcftools-1.22/kmin.c:74:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dx [nullPointerOutOfMemory] bcftools-1.22/kmin.c:72:22: note: Assuming allocation function fails bcftools-1.22/kmin.c:72:7: note: Assignment 'dx=(double*)calloc(n,sizeof(double))', assigned value is 0 bcftools-1.22/kmin.c:74:3: note: Null pointer dereference bcftools-1.22/kmin.c:75:7: warning: If memory allocation fails, then there is a possible null pointer dereference: dx [nullPointerOutOfMemory] bcftools-1.22/kmin.c:72:22: note: Assuming allocation function fails bcftools-1.22/kmin.c:72:7: note: Assignment 'dx=(double*)calloc(n,sizeof(double))', assigned value is 0 bcftools-1.22/kmin.c:75:7: note: Null pointer dereference bcftools-1.22/kmin.c:80:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: x1 [nullPointerOutOfMemory] bcftools-1.22/kmin.c:71:22: note: Assuming allocation function fails bcftools-1.22/kmin.c:71:7: note: Assignment 'x1=(double*)calloc(n,sizeof(double))', assigned value is 0 bcftools-1.22/kmin.c:80:10: note: Null pointer dereference bcftools-1.22/kmin.c:67:33: style:inconclusive: Function 'kmin_hj' argument 2 names different: declaration '' definition 'n'. [funcArgNamesDifferentUnnamed] bcftools-1.22/kmin.c:67:44: style:inconclusive: Function 'kmin_hj' argument 3 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] bcftools-1.22/kmin.c:67:53: style:inconclusive: Function 'kmin_hj' argument 4 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] bcftools-1.22/kmin.c:67:66: style:inconclusive: Function 'kmin_hj' argument 5 names different: declaration '' definition 'r'. [funcArgNamesDifferentUnnamed] bcftools-1.22/kmin.c:67:76: style:inconclusive: Function 'kmin_hj' argument 6 names different: declaration '' definition 'eps'. [funcArgNamesDifferentUnnamed] bcftools-1.22/kmin.c:67:85: style:inconclusive: Function 'kmin_hj' argument 7 names different: declaration '' definition 'max_calls'. [funcArgNamesDifferentUnnamed] bcftools-1.22/kmin.c:109:40: style:inconclusive: Function 'kmin_brent' argument 2 names different: declaration '' definition 'a'. [funcArgNamesDifferentUnnamed] bcftools-1.22/kmin.c:109:50: style:inconclusive: Function 'kmin_brent' argument 3 names different: declaration '' definition 'b'. [funcArgNamesDifferentUnnamed] bcftools-1.22/kmin.c:109:59: style:inconclusive: Function 'kmin_brent' argument 4 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] bcftools-1.22/kmin.c:109:72: style:inconclusive: Function 'kmin_brent' argument 5 names different: declaration '' definition 'tol'. [funcArgNamesDifferentUnnamed] bcftools-1.22/kmin.c:109:85: style:inconclusive: Function 'kmin_brent' argument 6 names different: declaration '' definition 'xmin'. [funcArgNamesDifferentUnnamed] bcftools-1.22/kmin.c:137:22: style: Variable 'fa' is assigned a value that is never used. [unreadVariable] bcftools-1.22/kmin.c:140:15: style: Variable 'fc' is assigned a value that is never used. [unreadVariable] bcftools-1.22/kmin.c:151:8: style: Variable 'fa' is assigned a value that is never used. [unreadVariable] bcftools-1.22/kmin.c:151:26: style: Variable 'fc' is assigned a value that is never used. [unreadVariable] bcftools-1.22/main.c:205:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCFTOOLS_VERSION [valueFlowBailoutIncompleteVar] bcftools-1.22/main.c:265:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/mcall.c:115:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/mcall.c:268:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/mcall.c:412:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/mcall.c:465:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/mcall.c:595:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] bcftools-1.22/mcall.c:731:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_gt_missing [valueFlowBailoutIncompleteVar] bcftools-1.22/mcall.c:769:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_gt_missing [valueFlowBailoutIncompleteVar] bcftools-1.22/mcall.c:1183:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/mcall.c:1209:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_HL_INFO [valueFlowBailoutIncompleteVar] bcftools-1.22/mcall.c:1284:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_CTG [valueFlowBailoutIncompleteVar] bcftools-1.22/mcall.c:1480:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/mcall.c:642:35: style: Condition 'call->ploidy' is always true [knownConditionTrueFalse] bcftools-1.22/mcall.c:687:39: style: Condition 'call->ploidy' is always true [knownConditionTrueFalse] bcftools-1.22/mcall.c:1424:89: style: Condition 'mcall_constrain_alleles(call,rec,&unseen)!=0' is always false [knownConditionTrueFalse] bcftools-1.22/mcall.c:1424:69: note: Calling function 'mcall_constrain_alleles' returns 0 bcftools-1.22/mcall.c:1424:89: note: Condition 'mcall_constrain_alleles(call,rec,&unseen)!=0' is always false bcftools-1.22/mcall.c:576:16: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] bcftools-1.22/mcall.c:578:16: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] bcftools-1.22/mcall.c:595:12: style:inconclusive: Same expression used in consecutive assignments of 'ref_lk' and 'max_lk'. [duplicateAssignExpression] bcftools-1.22/mcall.c:595:32: note: Same expression used in consecutive assignments of 'ref_lk' and 'max_lk'. bcftools-1.22/mcall.c:595:12: note: Same expression used in consecutive assignments of 'ref_lk' and 'max_lk'. bcftools-1.22/mcall.c:595:32: style:inconclusive: Same expression used in consecutive assignments of 'max_lk' and 'lk_sum'. [duplicateAssignExpression] bcftools-1.22/mcall.c:596:12: note: Same expression used in consecutive assignments of 'max_lk' and 'lk_sum'. bcftools-1.22/mcall.c:595:32: note: Same expression used in consecutive assignments of 'max_lk' and 'lk_sum'. bcftools-1.22/mcall.c:1536:12: style:inconclusive: Same expression used in consecutive assignments of 'ref_lk' and 'lk_sum'. [duplicateAssignExpression] bcftools-1.22/mcall.c:1536:32: note: Same expression used in consecutive assignments of 'ref_lk' and 'lk_sum'. bcftools-1.22/mcall.c:1536:12: note: Same expression used in consecutive assignments of 'ref_lk' and 'lk_sum'. bcftools-1.22/mcall.c:1536:32: style:inconclusive: Same expression used in consecutive assignments of 'lk_sum' and 'max_qual'. [duplicateAssignExpression] bcftools-1.22/mcall.c:1536:52: note: Same expression used in consecutive assignments of 'lk_sum' and 'max_qual'. bcftools-1.22/mcall.c:1536:32: note: Same expression used in consecutive assignments of 'lk_sum' and 'max_qual'. bcftools-1.22/mcall.c:1386:13: style: Local variable 'nsmpl' shadows outer variable [shadowVariable] bcftools-1.22/mcall.c:1334:9: note: Shadowed variable bcftools-1.22/mcall.c:1386:13: note: Shadow local variable bcftools-1.22/mcall.c:46:25: style: Parameter 'call' can be declared as pointer to const [constParameterPointer] bcftools-1.22/mcall.c:47:28: style: Parameter 'call' can be declared as pointer to const [constParameterPointer] bcftools-1.22/mcall.c:48:19: style: Parameter 'call' can be declared as pointer to const [constParameterPointer] bcftools-1.22/mcall.c:48:33: style: Parameter 'rec' can be declared as pointer to const [constParameterPointer] bcftools-1.22/mcall.c:591:44: style: Parameter 'call' can be declared as pointer to const [constParameterPointer] bcftools-1.22/mcall.c:609:21: style: Variable 'pdg' can be declared as pointer to const [constVariablePointer] bcftools-1.22/mcall.c:638:29: style: Variable 'pdg' can be declared as pointer to const [constVariablePointer] bcftools-1.22/mcall.c:683:33: style: Variable 'pdg' can be declared as pointer to const [constVariablePointer] bcftools-1.22/mcall.c:760:17: style: Variable 'pdg' can be declared as pointer to const [constVariablePointer] bcftools-1.22/mcall.c:1248:19: style: Variable 'ptr_src' can be declared as pointer to const [constVariablePointer] bcftools-1.22/mcall.c:1396:26: style: Variable 'src' can be declared as pointer to const [constVariablePointer] bcftools-1.22/mcall.c:1476:26: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/mpileup.c:207:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAM_FUNMAP [valueFlowBailoutIncompleteVar] bcftools-1.22/mpileup.c:309:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nm [valueFlowBailoutIncompleteVar] bcftools-1.22/mpileup.c:370:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] bcftools-1.22/mpileup.c:385:107: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] bcftools-1.22/mpileup.c:433:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] bcftools-1.22/mpileup.c:579:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seq_nt16_table [valueFlowBailoutIncompleteVar] bcftools-1.22/mpileup.c:621:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/mpileup.c:1059:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/mpileup.c:1132:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/mpileup.c:1376:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAM_FUNMAP [valueFlowBailoutIncompleteVar] bcftools-1.22/mpileup.c:1088:9: error: Common realloc mistake: 'files' nulled but not freed upon failure [memleakOnRealloc] bcftools-1.22/mpileup.c:266:24: warning: If memory allocation fails, then there is a possible null pointer dereference: ZQ [nullPointerOutOfMemory] bcftools-1.22/mpileup.c:265:37: note: Assuming allocation function fails bcftools-1.22/mpileup.c:265:37: note: Assignment 'ZQ=malloc((uint32_t)b->core.l_qseq+1)', assigned value is 0 bcftools-1.22/mpileup.c:266:24: note: Null pointer dereference bcftools-1.22/mpileup.c:267:17: warning: If memory allocation fails, then there is a possible null pointer dereference: ZQ [nullPointerOutOfMemory] bcftools-1.22/mpileup.c:265:37: note: Assuming allocation function fails bcftools-1.22/mpileup.c:265:37: note: Assignment 'ZQ=malloc((uint32_t)b->core.l_qseq+1)', assigned value is 0 bcftools-1.22/mpileup.c:267:17: note: Null pointer dereference bcftools-1.22/mpileup.c:327:13: style: Local variable 'i' shadows outer variable [shadowVariable] bcftools-1.22/mpileup.c:317:9: note: Shadowed variable bcftools-1.22/mpileup.c:327:13: note: Shadow local variable bcftools-1.22/mpileup.c:330:19: style: Variable 'cigar' can be declared as pointer to const [constVariablePointer] bcftools-1.22/mpileup.c:361:73: style: Parameter 'n_plp' can be declared as pointer to const [constParameterPointer] bcftools-1.22/mpileup.c:420:36: style: Parameter 'n_plp' can be declared as pointer to const [constParameterPointer] bcftools-1.22/mpileup.c:1131:15: style: Variable 'tag' can be declared as pointer to const [constVariablePointer] bcftools-1.22/mpileup2/mpileup.c:153:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAM_FSECONDARY [valueFlowBailoutIncompleteVar] bcftools-1.22/mpileup2/mpileup.c:585:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bcftools-1.22/mpileup2/mpileup.c:707:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTS_RESIZE_CLEAR [valueFlowBailoutIncompleteVar] bcftools-1.22/mpileup2/mpileup.c:786:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAM_FUNMAP [valueFlowBailoutIncompleteVar] bcftools-1.22/mpileup2/mpileup.c:821:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAM_CIGAR_MASK [valueFlowBailoutIncompleteVar] bcftools-1.22/mpileup2/mpileup.c:890:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAM_CMATCH [valueFlowBailoutIncompleteVar] bcftools-1.22/mpileup2/mpileup.c:951:101: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTS_POS_MAX [valueFlowBailoutIncompleteVar] bcftools-1.22/mpileup2/mpileup.c:1084:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAM_FUNMAP [valueFlowBailoutIncompleteVar] bcftools-1.22/mpileup2/mpileup.c:641:21: style: Condition 'ret!=0' is always false [knownConditionTrueFalse] bcftools-1.22/mpileup2/mpileup.c:639:48: note: Calling function 'mplp_check_header_contigs' returns 0 bcftools-1.22/mpileup2/mpileup.c:639:48: note: Assignment 'ret=mplp_check_header_contigs(mplp,hdr)', assigned value is 0 bcftools-1.22/mpileup2/mpileup.c:641:21: note: Condition 'ret!=0' is always false bcftools-1.22/mpileup2/mpileup.c:962:17: style: Condition 'ret!=0' is always false [knownConditionTrueFalse] bcftools-1.22/mpileup2/mpileup.c:961:34: note: Calling function 'mplp_set_pileup' returns 0 bcftools-1.22/mpileup2/mpileup.c:961:34: note: Assignment 'ret=mplp_set_pileup(mplp,&mplp->read_buf[i])', assigned value is 0 bcftools-1.22/mpileup2/mpileup.c:962:17: note: Condition 'ret!=0' is always false bcftools-1.22/mpileup2/mpileup.c:154:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mplp [nullPointerOutOfMemory] bcftools-1.22/mpileup2/mpileup.c:144:42: note: Assuming allocation function fails bcftools-1.22/mpileup2/mpileup.c:144:23: note: Assignment 'mplp=(struct mpileup_t*)calloc(1,sizeof(struct mpileup_t))', assigned value is 0 bcftools-1.22/mpileup2/mpileup.c:154:5: note: Null pointer dereference bcftools-1.22/mpileup2/mpileup.c:155:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mplp [nullPointerOutOfMemory] bcftools-1.22/mpileup2/mpileup.c:144:42: note: Assuming allocation function fails bcftools-1.22/mpileup2/mpileup.c:144:23: note: Assignment 'mplp=(struct mpileup_t*)calloc(1,sizeof(struct mpileup_t))', assigned value is 0 bcftools-1.22/mpileup2/mpileup.c:155:5: note: Null pointer dereference bcftools-1.22/mpileup2/mpileup.c:156:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mplp [nullPointerOutOfMemory] bcftools-1.22/mpileup2/mpileup.c:144:42: note: Assuming allocation function fails bcftools-1.22/mpileup2/mpileup.c:144:23: note: Assignment 'mplp=(struct mpileup_t*)calloc(1,sizeof(struct mpileup_t))', assigned value is 0 bcftools-1.22/mpileup2/mpileup.c:156:5: note: Null pointer dereference bcftools-1.22/mpileup2/mpileup.c:157:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mplp [nullPointerOutOfMemory] bcftools-1.22/mpileup2/mpileup.c:144:42: note: Assuming allocation function fails bcftools-1.22/mpileup2/mpileup.c:144:23: note: Assignment 'mplp=(struct mpileup_t*)calloc(1,sizeof(struct mpileup_t))', assigned value is 0 bcftools-1.22/mpileup2/mpileup.c:157:5: note: Null pointer dereference bcftools-1.22/mpileup2/mpileup.c:564:13: warning: If memory allocation fails, then there is a possible null pointer dereference: regs [nullPointerOutOfMemory] bcftools-1.22/mpileup2/mpileup.c:556:22: note: Assuming allocation function fails bcftools-1.22/mpileup2/mpileup.c:556:22: note: Assignment 'regs=calloc(nregs,sizeof(*regs))', assigned value is 0 bcftools-1.22/mpileup2/mpileup.c:564:13: note: Null pointer dereference bcftools-1.22/mpileup2/mpileup.c:492:23: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] bcftools-1.22/mpileup2/mpileup.c:528:49: style: Parameter 'mplp' can be declared as pointer to const [constParameterPointer] bcftools-1.22/mpileup2/mpileup.c:528:66: style: Parameter 'hdr' can be declared as pointer to const [constParameterPointer] bcftools-1.22/mpileup2/mpileup.c:817:15: style: Variable 'cigar' can be declared as pointer to const [constVariablePointer] bcftools-1.22/mpileup2/mpileup.c:1078:16: style: Variable 'mplp' can be declared as pointer to const [constVariablePointer] bcftools-1.22/peakfit.c:409:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSL_SUCCESS [valueFlowBailoutIncompleteVar] bcftools-1.22/peakfit.c:436:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSL_SUCCESS [valueFlowBailoutIncompleteVar] bcftools-1.22/peakfit.c:442:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSL_SUCCESS [valueFlowBailoutIncompleteVar] bcftools-1.22/peakfit.c:507:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gsl_multifit_fdfsolver_lmsder [valueFlowBailoutIncompleteVar] bcftools-1.22/peakfit.c:592:17: style: The if condition is the same as the previous if condition [duplicateCondition] bcftools-1.22/peakfit.c:584:17: note: First condition bcftools-1.22/peakfit.c:592:17: note: Second condition bcftools-1.22/peakfit.c:77:49: style: Parameter 'xvals' can be declared as pointer to const. However it seems that 'bounded_gaussian_calc_f' is a callback function, if 'xvals' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/peakfit.c:163:23: note: You might need to cast the function pointer here bcftools-1.22/peakfit.c:77:49: note: Parameter 'xvals' can be declared as pointer to const bcftools-1.22/peakfit.c:95:50: style: Parameter 'xvals' can be declared as pointer to const. However it seems that 'bounded_gaussian_calc_df' is a callback function, if 'xvals' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/peakfit.c:164:23: note: You might need to cast the function pointer here bcftools-1.22/peakfit.c:95:50: note: Parameter 'xvals' can be declared as pointer to const bcftools-1.22/peakfit.c:188:41: style: Parameter 'xvals' can be declared as pointer to const. However it seems that 'gaussian_calc_f' is a callback function, if 'xvals' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/peakfit.c:251:23: note: You might need to cast the function pointer here bcftools-1.22/peakfit.c:188:41: note: Parameter 'xvals' can be declared as pointer to const bcftools-1.22/peakfit.c:203:42: style: Parameter 'xvals' can be declared as pointer to const. However it seems that 'gaussian_calc_df' is a callback function, if 'xvals' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/peakfit.c:252:23: note: You might need to cast the function pointer here bcftools-1.22/peakfit.c:203:42: note: Parameter 'xvals' can be declared as pointer to const bcftools-1.22/peakfit.c:228:35: style: Parameter 'pk' can be declared as pointer to const. However it seems that 'gaussian_convert_get' is a callback function, if 'pk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/peakfit.c:254:23: note: You might need to cast the function pointer here bcftools-1.22/peakfit.c:228:35: note: Parameter 'pk' can be declared as pointer to const bcftools-1.22/peakfit.c:273:36: style: Parameter 'xvals' can be declared as pointer to const. However it seems that 'exp_calc_f' is a callback function, if 'xvals' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/peakfit.c:333:23: note: You might need to cast the function pointer here bcftools-1.22/peakfit.c:273:36: note: Parameter 'xvals' can be declared as pointer to const bcftools-1.22/peakfit.c:287:37: style: Parameter 'xvals' can be declared as pointer to const. However it seems that 'exp_calc_df' is a callback function, if 'xvals' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/peakfit.c:334:23: note: You might need to cast the function pointer here bcftools-1.22/peakfit.c:287:37: note: Parameter 'xvals' can be declared as pointer to const bcftools-1.22/peakfit.c:309:30: style: Parameter 'pk' can be declared as pointer to const. However it seems that 'exp_convert_get' is a callback function, if 'pk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/peakfit.c:336:23: note: You might need to cast the function pointer here bcftools-1.22/peakfit.c:309:30: note: Parameter 'pk' can be declared as pointer to const bcftools-1.22/peakfit.c:547:29: style: Variable 'pk' can be declared as pointer to const [constVariablePointer] bcftools-1.22/ploidy.c:213:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sex [valueFlowBailoutIncompleteVar] bcftools-1.22/ploidy.c:276:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sex [valueFlowBailoutIncompleteVar] bcftools-1.22/ploidy.c:50:36: style: Parameter 'ploidy' can be declared as pointer to const [constParameterPointer] bcftools-1.22/ploidy.c:192:42: style: Parameter 'seq' can be declared as pointer to const [constParameterPointer] bcftools-1.22/ploidy.c:229:27: style: Parameter 'ploidy' can be declared as pointer to const [constParameterPointer] bcftools-1.22/ploidy.c:234:31: style: Parameter 'ploidy' can be declared as pointer to const [constParameterPointer] bcftools-1.22/ploidy.c:259:26: style: Parameter 'ploidy' can be declared as pointer to const [constParameterPointer] bcftools-1.22/ploidy.c:264:26: style: Parameter 'ploidy' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/GTisec.c:44:1: error: There is an unknown macro here somewhere. Configuration is required. If KHASH_MAP_INIT_INT is a macro then please configure it. [unknownMacro] bcftools-1.22/plugins/GTsubset.c:90:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/GTsubset.c:161:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_FMT [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/GTsubset.c:88:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/GTsubset.c:193:14: style: Variable 'gt_ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/ad-bias.c:103:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KS_SEP_LINE [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/ad-bias.c:157:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/ad-bias.c:244:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_missing [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/ad-bias.c:97:28: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/ad-bias.c:67:8: note: Shadowed variable bcftools-1.22/plugins/ad-bias.c:97:28: note: Shadow argument bcftools-1.22/plugins/ad-bias.c:138:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/ad-bias.c:236:17: style: Variable 'pair' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/ad-bias.c:237:18: style: Variable 'aptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/ad-bias.c:238:18: style: Variable 'bptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/add-variantkey.c:66:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_CTG [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/af-dist.c:104:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/af-dist.c:164:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/af-dist.c:85:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/af-dist.c:82:28: note: Assuming allocation function fails bcftools-1.22/plugins/af-dist.c:82:12: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/af-dist.c:85:5: note: Null pointer dereference bcftools-1.22/plugins/af-dist.c:86:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/af-dist.c:82:28: note: Assuming allocation function fails bcftools-1.22/plugins/af-dist.c:82:12: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/af-dist.c:86:5: note: Null pointer dereference bcftools-1.22/plugins/af-dist.c:87:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/af-dist.c:82:28: note: Assuming allocation function fails bcftools-1.22/plugins/af-dist.c:82:12: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/af-dist.c:87:5: note: Null pointer dereference bcftools-1.22/plugins/af-dist.c:88:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/allele-length.c:89:25: style: Parameter 'rec' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/check-ploidy.c:114:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/check-ploidy.c:124:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_FMT [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/check-ploidy.c:87:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/check-ploidy.c:86:28: note: Assuming allocation function fails bcftools-1.22/plugins/check-ploidy.c:86:12: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/check-ploidy.c:87:5: note: Null pointer dereference bcftools-1.22/plugins/check-ploidy.c:87:24: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/check-ploidy.c:86:28: note: Assuming allocation function fails bcftools-1.22/plugins/check-ploidy.c:86:12: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/check-ploidy.c:87:24: note: Null pointer dereference bcftools-1.22/plugins/check-ploidy.c:90:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/check-ploidy.c:86:28: note: Assuming allocation function fails bcftools-1.22/plugins/check-ploidy.c:86:12: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/check-ploidy.c:88:10: note: Assuming condition is false bcftools-1.22/plugins/check-ploidy.c:90:5: note: Null pointer dereference bcftools-1.22/plugins/check-ploidy.c:91:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/check-sparsity.c:83:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/check-sparsity.c:133:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/check-sparsity.c:175:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vcf [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/check-sparsity.c:249:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/check-sparsity.c:232:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/check-sparsity.c:231:36: note: Assuming allocation function fails bcftools-1.22/plugins/check-sparsity.c:231:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/check-sparsity.c:232:5: note: Null pointer dereference bcftools-1.22/plugins/check-sparsity.c:232:26: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/check-sparsity.c:231:36: note: Assuming allocation function fails bcftools-1.22/plugins/check-sparsity.c:231:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/check-sparsity.c:232:26: note: Null pointer dereference bcftools-1.22/plugins/check-sparsity.c:233:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/check-sparsity.c:231:36: note: Assuming allocation function fails bcftools-1.22/plugins/check-sparsity.c:231:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/check-sparsity.c:233:5: note: Null pointer dereference bcftools-1.22/plugins/check-sparsity.c:196:20: style: Variable 'fmt_gt' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/check-sparsity.c:206:21: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/check-sparsity.c:234:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/color-chrs.c:168:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/color-chrs.c:451:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_SAMPLE [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/color-chrs.c:490:25: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:490:25: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:492:25: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:492:25: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:494:25: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:494:25: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:496:25: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:496:25: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:498:25: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:498:25: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:500:25: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:500:25: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:508:25: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:508:25: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:510:25: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:510:25: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:512:25: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:512:25: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:514:25: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:514:25: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:516:25: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:516:25: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:518:25: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:518:25: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:520:25: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:520:25: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:522:25: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:522:25: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/color-chrs.c:215:35: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/color-chrs.c:110:15: note: Shadowed variable bcftools-1.22/plugins/color-chrs.c:215:35: note: Shadow argument bcftools-1.22/plugins/color-chrs.c:290:40: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/color-chrs.c:110:15: note: Shadowed variable bcftools-1.22/plugins/color-chrs.c:290:40: note: Shadow argument bcftools-1.22/plugins/color-chrs.c:446:28: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/color-chrs.c:110:15: note: Shadowed variable bcftools-1.22/plugins/color-chrs.c:446:28: note: Shadow argument bcftools-1.22/plugins/color-chrs.c:156:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/color-chrs.c:475:14: style: Variable 'vpath' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/color-chrs.c:343:10: style: float result is returned as double value. If the return value is double to avoid loss of information, then you have loss of information. [truncLongCastReturn] bcftools-1.22/plugins/contrast.c:164:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_SAMPLE [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/contrast.c:207:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_SR_REGIONS_OVERLAP [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/contrast.c:270:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/contrast.c:332:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/contrast.c:474:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/contrast.c:164:13: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] bcftools-1.22/plugins/contrast.c:161:29: note: Assuming allocation function fails bcftools-1.22/plugins/contrast.c:161:16: note: Assignment 'list=(int*)malloc(sizeof(int)*nlist)', assigned value is 0 bcftools-1.22/plugins/contrast.c:164:13: note: Null pointer dereference bcftools-1.22/plugins/contrast.c:165:18: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] bcftools-1.22/plugins/contrast.c:161:29: note: Assuming allocation function fails bcftools-1.22/plugins/contrast.c:161:16: note: Assignment 'list=(int*)malloc(sizeof(int)*nlist)', assigned value is 0 bcftools-1.22/plugins/contrast.c:165:18: note: Null pointer dereference bcftools-1.22/plugins/contrast.c:466:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/contrast.c:465:36: note: Assuming allocation function fails bcftools-1.22/plugins/contrast.c:465:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/contrast.c:466:5: note: Null pointer dereference bcftools-1.22/plugins/contrast.c:466:26: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/contrast.c:465:36: note: Assuming allocation function fails bcftools-1.22/plugins/contrast.c:465:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/contrast.c:466:26: note: Null pointer dereference bcftools-1.22/plugins/contrast.c:467:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/contrast.c:465:36: note: Assuming allocation function fails bcftools-1.22/plugins/contrast.c:465:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/contrast.c:467:5: note: Null pointer dereference bcftools-1.22/plugins/contrast.c:468:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/contrast.c:465:36: note: Assuming allocation function fails bcftools-1.22/plugins/contrast.c:465:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/contrast.c:468:5: note: Null pointer dereference bcftools-1.22/plugins/contrast.c:469:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/contrast.c:465:36: note: Assuming allocation function fails bcftools-1.22/plugins/contrast.c:465:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/contrast.c:469:5: note: Null pointer dereference bcftools-1.22/plugins/contrast.c:470:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/contrast.c:465:36: note: Assuming allocation function fails bcftools-1.22/plugins/contrast.c:465:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/contrast.c:470:5: note: Null pointer dereference bcftools-1.22/plugins/contrast.c:471:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/contrast.c:465:36: note: Assuming allocation function fails bcftools-1.22/plugins/contrast.c:465:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/contrast.c:471:5: note: Null pointer dereference bcftools-1.22/plugins/contrast.c:187:31: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/contrast.c:77:8: note: Shadowed variable bcftools-1.22/plugins/contrast.c:187:31: note: Shadow argument bcftools-1.22/plugins/contrast.c:246:15: style: Local variable 'tmp' shadows outer variable [shadowVariable] bcftools-1.22/plugins/contrast.c:190:12: note: Shadowed variable bcftools-1.22/plugins/contrast.c:246:15: note: Shadow local variable bcftools-1.22/plugins/contrast.c:258:34: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/contrast.c:77:8: note: Shadowed variable bcftools-1.22/plugins/contrast.c:258:34: note: Shadow argument bcftools-1.22/plugins/contrast.c:313:35: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/contrast.c:77:8: note: Shadowed variable bcftools-1.22/plugins/contrast.c:313:35: note: Shadow argument bcftools-1.22/plugins/contrast.c:465:13: style: Local variable 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/contrast.c:77:8: note: Shadowed variable bcftools-1.22/plugins/contrast.c:465:13: note: Shadow local variable bcftools-1.22/plugins/contrast.c:586:44: style: Clarify calculation precedence for '+' and '?'. [clarifyCalculation] bcftools-1.22/plugins/contrast.c:587:44: style: Clarify calculation precedence for '+' and '?'. [clarifyCalculation] bcftools-1.22/plugins/contrast.c:281:57: style: Parameter 'dat' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/contrast.c:472:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/contrast.c:345:29: warning: Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 335. [shiftTooManyBitsSigned] bcftools-1.22/plugins/contrast.c:335:22: note: Assuming that condition 'ial>31' is not redundant bcftools-1.22/plugins/contrast.c:345:29: note: Shift bcftools-1.22/plugins/contrast.c:346:20: warning: Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 335. [shiftTooManyBitsSigned] bcftools-1.22/plugins/contrast.c:335:22: note: Assuming that condition 'ial>31' is not redundant bcftools-1.22/plugins/contrast.c:346:20: note: Shift bcftools-1.22/plugins/contrast.c:384:36: warning: Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 374. [shiftTooManyBitsSigned] bcftools-1.22/plugins/contrast.c:374:22: note: Assuming that condition 'ial>31' is not redundant bcftools-1.22/plugins/contrast.c:384:36: note: Shift bcftools-1.22/plugins/contrast.c:283:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] bcftools-1.22/plugins/counts.c:61:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VCF_SNP [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/dosage.c:119:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_missing [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/dosage.c:172:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_missing [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/dosage.c:192:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/dosage.c:240:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/dosage.c:218:9: error: Common realloc mistake: 'out' nulled but not freed upon failure [memleakOnRealloc] bcftools-1.22/plugins/dosage.c:262:17: error: Common realloc mistake: 'handlers' nulled but not freed upon failure [memleakOnRealloc] bcftools-1.22/plugins/dosage.c:277:17: error: Common realloc mistake: 'handlers' nulled but not freed upon failure [memleakOnRealloc] bcftools-1.22/plugins/dosage.c:283:13: error: Common realloc mistake: 'handlers' nulled but not freed upon failure [memleakOnRealloc] bcftools-1.22/plugins/dosage.c:211:23: warning: If memory allocation fails, then there is a possible null pointer dereference: ss [nullPointerOutOfMemory] bcftools-1.22/plugins/dosage.c:210:22: note: Assuming allocation function fails bcftools-1.22/plugins/dosage.c:210:22: note: Assignment 'ss=strdup(str)', assigned value is 0 bcftools-1.22/plugins/dosage.c:211:23: note: Null pointer dereference bcftools-1.22/plugins/dosage.c:120:27: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] bcftools-1.22/plugins/dosage.c:173:27: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] bcftools-1.22/plugins/dosage.c:207:25: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/dosage.c:231:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/fill-AN-AC.c:51:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_FMT [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/fill-from-fasta.c:113:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/fill-from-fasta.c:97:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/fill-from-fasta.c:189:11: style: Variable 'ref' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/fill-tags.c:169:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KS_SEP_LINE [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/fill-tags.c:285:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_missing [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/fill-tags.c:302:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_VL_FIXED [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/fill-tags.c:369:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_HT_REAL [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/fill-tags.c:495:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_FMT [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/fill-tags.c:569:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/fill-tags.c:719:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/fill-tags.c:974:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_missing [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/fill-tags.c:1003:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/fill-tags.c:1025:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_FMT [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/fill-tags.c:211:71: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pop_name [nullPointerOutOfMemory] bcftools-1.22/plugins/fill-tags.c:205:34: note: Assuming allocation function fails bcftools-1.22/plugins/fill-tags.c:205:34: note: Assignment 'pop_name=strdup(pop_name)', assigned value is 0 bcftools-1.22/plugins/fill-tags.c:211:71: note: Null pointer dereference bcftools-1.22/plugins/fill-tags.c:212:57: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pop_name [nullPointerOutOfMemory] bcftools-1.22/plugins/fill-tags.c:205:34: note: Assuming allocation function fails bcftools-1.22/plugins/fill-tags.c:205:34: note: Assignment 'pop_name=strdup(pop_name)', assigned value is 0 bcftools-1.22/plugins/fill-tags.c:212:57: note: Null pointer dereference bcftools-1.22/plugins/fill-tags.c:212:73: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pop_name [nullPointerOutOfMemory] bcftools-1.22/plugins/fill-tags.c:205:34: note: Assuming allocation function fails bcftools-1.22/plugins/fill-tags.c:205:34: note: Assignment 'pop_name=strdup(pop_name)', assigned value is 0 bcftools-1.22/plugins/fill-tags.c:212:73: note: Null pointer dereference bcftools-1.22/plugins/fill-tags.c:457:12: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: samples [nullPointerOutOfMemory] bcftools-1.22/plugins/fill-tags.c:403:40: note: Assuming allocation function fails bcftools-1.22/plugins/fill-tags.c:403:24: note: Assignment 'samples=(uint8_t*)calloc(bcf_hdr_nsamples(args->in_hdr),1)', assigned value is 0 bcftools-1.22/plugins/fill-tags.c:457:12: note: Null pointer dereference bcftools-1.22/plugins/fill-tags.c:551:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/fill-tags.c:550:28: note: Assuming allocation function fails bcftools-1.22/plugins/fill-tags.c:550:12: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/fill-tags.c:551:5: note: Null pointer dereference bcftools-1.22/plugins/fill-tags.c:552:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/fill-tags.c:550:28: note: Assuming allocation function fails bcftools-1.22/plugins/fill-tags.c:550:12: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/fill-tags.c:552:5: note: Null pointer dereference bcftools-1.22/plugins/fill-tags.c:159:28: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fill-tags.c:104:16: note: Shadowed variable bcftools-1.22/plugins/fill-tags.c:159:28: note: Shadow argument bcftools-1.22/plugins/fill-tags.c:237:24: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fill-tags.c:104:16: note: Shadowed variable bcftools-1.22/plugins/fill-tags.c:237:24: note: Shadow argument bcftools-1.22/plugins/fill-tags.c:289:29: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fill-tags.c:104:16: note: Shadowed variable bcftools-1.22/plugins/fill-tags.c:289:29: note: Shadow argument bcftools-1.22/plugins/fill-tags.c:363:28: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fill-tags.c:104:16: note: Shadowed variable bcftools-1.22/plugins/fill-tags.c:363:28: note: Shadow argument bcftools-1.22/plugins/fill-tags.c:440:15: style: Local variable 'tmp' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fill-tags.c:381:11: note: Shadowed variable bcftools-1.22/plugins/fill-tags.c:440:15: note: Shadow local variable bcftools-1.22/plugins/fill-tags.c:468:24: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fill-tags.c:104:16: note: Shadowed variable bcftools-1.22/plugins/fill-tags.c:468:24: note: Shadow argument bcftools-1.22/plugins/fill-tags.c:477:29: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fill-tags.c:104:16: note: Shadowed variable bcftools-1.22/plugins/fill-tags.c:477:29: note: Shadow argument bcftools-1.22/plugins/fill-tags.c:621:23: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fill-tags.c:104:16: note: Shadowed variable bcftools-1.22/plugins/fill-tags.c:621:23: note: Shadow argument bcftools-1.22/plugins/fill-tags.c:363:68: style: Parameter 'expr' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/fill-tags.c:374:11: style: Variable 'end' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/fill-tags.c:553:34: style: Variable 'tags_str' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/fill-tags.c:554:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/fill-tags.c:969:18: style: Variable 'src' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/fixploidy.c:87:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KS_SEP_LINE [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/fixploidy.c:135:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/fixploidy.c:211:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_gt_missing [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/fixploidy.c:81:57: style: Argument 'ploidy' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fixploidy.c:41:18: note: Shadowed variable bcftools-1.22/plugins/fixploidy.c:81:57: note: Shadow argument bcftools-1.22/plugins/fixploidy.c:81:70: style: Argument 'sample2sex' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fixploidy.c:38:13: note: Shadowed variable bcftools-1.22/plugins/fixploidy.c:81:70: note: Shadow argument bcftools-1.22/plugins/fixploidy.c:207:17: style: Local variable 'ploidy' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fixploidy.c:41:18: note: Shadowed variable bcftools-1.22/plugins/fixploidy.c:207:17: note: Shadow local variable bcftools-1.22/plugins/fixploidy.c:225:17: style: Local variable 'ploidy' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fixploidy.c:41:18: note: Shadowed variable bcftools-1.22/plugins/fixploidy.c:225:17: note: Shadow local variable bcftools-1.22/plugins/fixploidy.c:117:11: style: Variable 'tags_str' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/fixploidy.c:120:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/fixploidy.c:208:22: style: Variable 'src' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/fixref.c:114:1: error: There is an unknown macro here somewhere. Configuration is required. If KHASH_MAP_INIT_STR is a macro then please configure it. [unknownMacro] bcftools-1.22/plugins/frameshifts.c:73:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/frameshifts.c:110:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VCF_INDEL [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/frameshifts.c:124:13: style: Local variable 'len' shadows outer variable [shadowVariable] bcftools-1.22/plugins/frameshifts.c:112:12: note: Shadowed variable bcftools-1.22/plugins/frameshifts.c:124:13: note: Shadow local variable bcftools-1.22/plugins/frameshifts.c:64:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/guess-ploidy.c:148:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VCF_SNP [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/guess-ploidy.c:428:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/guess-ploidy.c:399:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/guess-ploidy.c:398:36: note: Assuming allocation function fails bcftools-1.22/plugins/guess-ploidy.c:398:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/guess-ploidy.c:399:5: note: Null pointer dereference bcftools-1.22/plugins/guess-ploidy.c:400:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/guess-ploidy.c:398:36: note: Assuming allocation function fails bcftools-1.22/plugins/guess-ploidy.c:398:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/guess-ploidy.c:400:5: note: Null pointer dereference bcftools-1.22/plugins/guess-ploidy.c:400:26: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/guess-ploidy.c:398:36: note: Assuming allocation function fails bcftools-1.22/plugins/guess-ploidy.c:398:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/guess-ploidy.c:400:26: note: Null pointer dereference bcftools-1.22/plugins/guess-ploidy.c:401:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/guess-ploidy.c:398:36: note: Assuming allocation function fails bcftools-1.22/plugins/guess-ploidy.c:398:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/guess-ploidy.c:401:5: note: Null pointer dereference bcftools-1.22/plugins/guess-ploidy.c:402:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/guess-ploidy.c:398:36: note: Assuming allocation function fails bcftools-1.22/plugins/guess-ploidy.c:398:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/guess-ploidy.c:402:5: note: Null pointer dereference bcftools-1.22/plugins/guess-ploidy.c:219:30: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/guess-ploidy.c:264:30: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/guess-ploidy.c:382:21: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/guess-ploidy.c:405:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/guess-ploidy.c:56:11: style: struct member 'stats_t::chr' is never used. [unusedStructMember] bcftools-1.22/plugins/guess-ploidy.c:57:14: style: struct member 'stats_t::start' is never used. [unusedStructMember] bcftools-1.22/plugins/guess-ploidy.c:57:21: style: struct member 'stats_t::end' is never used. [unusedStructMember] bcftools-1.22/plugins/gvcfz.c:147:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/gvcfz.c:241:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_ALL [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/gvcfz.c:327:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_VCF [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/gvcfz.c:124:13: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] bcftools-1.22/plugins/gvcfz.c:122:27: note: Assuming allocation function fails bcftools-1.22/plugins/gvcfz.c:122:27: note: Assignment 'hdr_str=strdup(args->group_by)', assigned value is 0 bcftools-1.22/plugins/gvcfz.c:123:17: note: Assignment 'tmp=hdr_str', assigned value is 0 bcftools-1.22/plugins/gvcfz.c:124:13: note: Null pointer dereference bcftools-1.22/plugins/gvcfz.c:126:15: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] bcftools-1.22/plugins/gvcfz.c:122:27: note: Assuming allocation function fails bcftools-1.22/plugins/gvcfz.c:122:27: note: Assignment 'hdr_str=strdup(args->group_by)', assigned value is 0 bcftools-1.22/plugins/gvcfz.c:123:17: note: Assignment 'tmp=hdr_str', assigned value is 0 bcftools-1.22/plugins/gvcfz.c:126:15: note: Null pointer dereference bcftools-1.22/plugins/gvcfz.c:131:14: warning: If memory allocation fails, then there is a possible null pointer dereference: beg [nullPointerOutOfMemory] bcftools-1.22/plugins/gvcfz.c:130:28: note: Assuming allocation function fails bcftools-1.22/plugins/gvcfz.c:130:28: note: Assignment 'rmme_str=strdup(args->group_by)', assigned value is 0 bcftools-1.22/plugins/gvcfz.c:130:53: note: Assignment 'beg=rmme_str', assigned value is 0 bcftools-1.22/plugins/gvcfz.c:131:14: note: Null pointer dereference bcftools-1.22/plugins/gvcfz.c:133:18: warning: If memory allocation fails, then there is a possible null pointer dereference: beg [nullPointerOutOfMemory] bcftools-1.22/plugins/gvcfz.c:130:28: note: Assuming allocation function fails bcftools-1.22/plugins/gvcfz.c:130:28: note: Assignment 'rmme_str=strdup(args->group_by)', assigned value is 0 bcftools-1.22/plugins/gvcfz.c:130:53: note: Assignment 'beg=rmme_str', assigned value is 0 bcftools-1.22/plugins/gvcfz.c:133:18: note: Null pointer dereference bcftools-1.22/plugins/gvcfz.c:133:34: warning: Either the condition '!beg' is redundant or there is possible null pointer dereference: beg. [nullPointerRedundantCheck] bcftools-1.22/plugins/gvcfz.c:134:14: note: Assuming that condition '!beg' is not redundant bcftools-1.22/plugins/gvcfz.c:133:34: note: Null pointer dereference bcftools-1.22/plugins/gvcfz.c:326:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/gvcfz.c:325:36: note: Assuming allocation function fails bcftools-1.22/plugins/gvcfz.c:325:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/gvcfz.c:326:5: note: Null pointer dereference bcftools-1.22/plugins/gvcfz.c:326:26: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/gvcfz.c:325:36: note: Assuming allocation function fails bcftools-1.22/plugins/gvcfz.c:325:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/gvcfz.c:326:26: note: Null pointer dereference bcftools-1.22/plugins/gvcfz.c:327:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/gvcfz.c:325:36: note: Assuming allocation function fails bcftools-1.22/plugins/gvcfz.c:325:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/gvcfz.c:327:5: note: Null pointer dereference bcftools-1.22/plugins/gvcfz.c:328:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/gvcfz.c:325:36: note: Assuming allocation function fails bcftools-1.22/plugins/gvcfz.c:325:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/gvcfz.c:328:5: note: Null pointer dereference bcftools-1.22/plugins/gvcfz.c:329:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/gvcfz.c:325:36: note: Assuming allocation function fails bcftools-1.22/plugins/gvcfz.c:325:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/gvcfz.c:329:5: note: Null pointer dereference bcftools-1.22/plugins/gvcfz.c:127:12: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] bcftools-1.22/plugins/gvcfz.c:122:27: note: Assuming allocation function fails bcftools-1.22/plugins/gvcfz.c:122:27: note: Assignment 'hdr_str=strdup(args->group_by)', assigned value is 0 bcftools-1.22/plugins/gvcfz.c:123:17: note: Assignment 'tmp=hdr_str', assigned value is 0 bcftools-1.22/plugins/gvcfz.c:127:12: note: Null pointer addition bcftools-1.22/plugins/gvcfz.c:142:14: style: Local variable 'tmp' shadows outer variable [shadowVariable] bcftools-1.22/plugins/gvcfz.c:123:11: note: Shadowed variable bcftools-1.22/plugins/gvcfz.c:142:14: note: Shadow local variable bcftools-1.22/plugins/gvcfz.c:199:47: style: Parameter 'rec' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/gvcfz.c:330:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/impute-info.c:111:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/impute-info.c:163:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/impute-info.c:148:27: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] bcftools-1.22/plugins/indel-stats.c:194:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/indel-stats.c:218:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KS_SEP_LINE [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/indel-stats.c:431:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/indel-stats.c:449:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_missing [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/indel-stats.c:615:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VCF_INDEL [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/indel-stats.c:687:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/indel-stats.c:390:9: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] bcftools-1.22/plugins/indel-stats.c:335:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:335:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:336:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:336:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:337:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:337:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:338:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:338:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:339:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:339:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:340:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:340:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:341:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:341:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:342:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:342:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:343:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:343:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:344:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:344:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:345:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:345:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:346:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:346:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:347:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:347:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:349:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:349:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:350:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:350:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:351:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:351:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:352:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:352:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:353:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:353:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:354:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:354:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:356:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:356:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:357:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:357:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:358:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:358:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:359:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:359:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:360:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:360:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:361:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:361:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:362:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:362:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:363:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:363:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:365:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:365:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:366:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:366:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:367:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:367:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:368:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:368:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:369:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:369:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:370:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:370:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:372:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:372:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:373:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:373:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:374:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:374:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:375:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:375:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:376:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:376:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:377:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/indel-stats.c:334:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/indel-stats.c:377:13: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:682:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/indel-stats.c:681:36: note: Assuming allocation function fails bcftools-1.22/plugins/indel-stats.c:681:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/indel-stats.c:682:5: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:682:26: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/indel-stats.c:681:36: note: Assuming allocation function fails bcftools-1.22/plugins/indel-stats.c:681:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/indel-stats.c:682:26: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:683:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/indel-stats.c:681:36: note: Assuming allocation function fails bcftools-1.22/plugins/indel-stats.c:681:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/indel-stats.c:683:5: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:684:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/indel-stats.c:681:36: note: Assuming allocation function fails bcftools-1.22/plugins/indel-stats.c:681:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/indel-stats.c:684:5: note: Null pointer dereference bcftools-1.22/plugins/indel-stats.c:156:35: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/indel-stats.c:123:8: note: Shadowed variable bcftools-1.22/plugins/indel-stats.c:156:35: note: Shadow argument bcftools-1.22/plugins/indel-stats.c:212:31: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/indel-stats.c:123:8: note: Shadowed variable bcftools-1.22/plugins/indel-stats.c:212:31: note: Shadow argument bcftools-1.22/plugins/indel-stats.c:255:31: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/indel-stats.c:123:8: note: Shadowed variable bcftools-1.22/plugins/indel-stats.c:255:31: note: Shadow argument bcftools-1.22/plugins/indel-stats.c:307:34: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/indel-stats.c:123:8: note: Shadowed variable bcftools-1.22/plugins/indel-stats.c:307:34: note: Shadow argument bcftools-1.22/plugins/indel-stats.c:330:34: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/indel-stats.c:123:8: note: Shadowed variable bcftools-1.22/plugins/indel-stats.c:330:34: note: Shadow argument bcftools-1.22/plugins/indel-stats.c:439:47: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/indel-stats.c:123:8: note: Shadowed variable bcftools-1.22/plugins/indel-stats.c:439:47: note: Shadow argument bcftools-1.22/plugins/indel-stats.c:493:36: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/indel-stats.c:123:8: note: Shadowed variable bcftools-1.22/plugins/indel-stats.c:493:36: note: Shadow argument bcftools-1.22/plugins/indel-stats.c:681:13: style: Local variable 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/indel-stats.c:123:8: note: Shadowed variable bcftools-1.22/plugins/indel-stats.c:681:13: note: Shadow local variable bcftools-1.22/plugins/indel-stats.c:382:22: style: Variable 'flt' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/indel-stats.c:387:18: style: Variable 'stats' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/indel-stats.c:443:14: style: Variable 'ad_ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/indel-stats.c:685:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/isecGT.c:81:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_VCF [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/isecGT.c:80:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/isecGT.c:79:36: note: Assuming allocation function fails bcftools-1.22/plugins/isecGT.c:79:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/isecGT.c:80:5: note: Null pointer dereference bcftools-1.22/plugins/isecGT.c:81:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/isecGT.c:79:36: note: Assuming allocation function fails bcftools-1.22/plugins/isecGT.c:79:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/isecGT.c:81:5: note: Null pointer dereference bcftools-1.22/plugins/isecGT.c:82:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/isecGT.c:79:36: note: Assuming allocation function fails bcftools-1.22/plugins/isecGT.c:79:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/isecGT.c:82:5: note: Null pointer dereference bcftools-1.22/plugins/isecGT.c:83:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/isecGT.c:186:22: style: Variable 'b' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/mendelian2.c:305:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/mendelian2.c:350:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KS_SEP_LINE [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/mendelian2.c:413:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_SR_REGIONS_OVERLAP [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/mendelian2.c:511:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/mendelian2.c:569:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_gt_missing [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/mendelian2.c:584:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/mendelian2.c:694:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VCF_REF [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/mendelian2.c:738:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/mendelian2.c:822:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/mendelian2.c:745:13: warning: Either the condition '!log_fh' is redundant or there is possible null pointer dereference: log_fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/mendelian2.c:742:14: note: Assuming that condition '!log_fh' is not redundant bcftools-1.22/plugins/mendelian2.c:745:13: note: Null pointer dereference bcftools-1.22/plugins/mendelian2.c:746:13: warning: Either the condition '!log_fh' is redundant or there is possible null pointer dereference: log_fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/mendelian2.c:742:14: note: Assuming that condition '!log_fh' is not redundant bcftools-1.22/plugins/mendelian2.c:746:13: note: Null pointer dereference bcftools-1.22/plugins/mendelian2.c:747:13: warning: Either the condition '!log_fh' is redundant or there is possible null pointer dereference: log_fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/mendelian2.c:742:14: note: Assuming that condition '!log_fh' is not redundant bcftools-1.22/plugins/mendelian2.c:747:13: note: Null pointer dereference bcftools-1.22/plugins/mendelian2.c:748:13: warning: Either the condition '!log_fh' is redundant or there is possible null pointer dereference: log_fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/mendelian2.c:742:14: note: Assuming that condition '!log_fh' is not redundant bcftools-1.22/plugins/mendelian2.c:748:13: note: Null pointer dereference bcftools-1.22/plugins/mendelian2.c:749:13: warning: Either the condition '!log_fh' is redundant or there is possible null pointer dereference: log_fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/mendelian2.c:742:14: note: Assuming that condition '!log_fh' is not redundant bcftools-1.22/plugins/mendelian2.c:749:13: note: Null pointer dereference bcftools-1.22/plugins/mendelian2.c:750:13: warning: Either the condition '!log_fh' is redundant or there is possible null pointer dereference: log_fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/mendelian2.c:742:14: note: Assuming that condition '!log_fh' is not redundant bcftools-1.22/plugins/mendelian2.c:750:13: note: Null pointer dereference bcftools-1.22/plugins/mendelian2.c:751:13: warning: Either the condition '!log_fh' is redundant or there is possible null pointer dereference: log_fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/mendelian2.c:742:14: note: Assuming that condition '!log_fh' is not redundant bcftools-1.22/plugins/mendelian2.c:751:13: note: Null pointer dereference bcftools-1.22/plugins/mendelian2.c:752:13: warning: Either the condition '!log_fh' is redundant or there is possible null pointer dereference: log_fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/mendelian2.c:742:14: note: Assuming that condition '!log_fh' is not redundant bcftools-1.22/plugins/mendelian2.c:752:13: note: Null pointer dereference bcftools-1.22/plugins/mendelian2.c:753:13: warning: Either the condition '!log_fh' is redundant or there is possible null pointer dereference: log_fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/mendelian2.c:742:14: note: Assuming that condition '!log_fh' is not redundant bcftools-1.22/plugins/mendelian2.c:753:13: note: Null pointer dereference bcftools-1.22/plugins/mendelian2.c:756:13: warning: Either the condition '!log_fh' is redundant or there is possible null pointer dereference: log_fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/mendelian2.c:742:14: note: Assuming that condition '!log_fh' is not redundant bcftools-1.22/plugins/mendelian2.c:756:13: note: Null pointer dereference bcftools-1.22/plugins/mendelian2.c:757:13: warning: Either the condition '!log_fh' is redundant or there is possible null pointer dereference: log_fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/mendelian2.c:742:14: note: Assuming that condition '!log_fh' is not redundant bcftools-1.22/plugins/mendelian2.c:757:13: note: Null pointer dereference bcftools-1.22/plugins/mendelian2.c:758:13: warning: Either the condition '!log_fh' is redundant or there is possible null pointer dereference: log_fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/mendelian2.c:742:14: note: Assuming that condition '!log_fh' is not redundant bcftools-1.22/plugins/mendelian2.c:758:13: note: Null pointer dereference bcftools-1.22/plugins/mendelian2.c:759:13: warning: Either the condition '!log_fh' is redundant or there is possible null pointer dereference: log_fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/mendelian2.c:742:14: note: Assuming that condition '!log_fh' is not redundant bcftools-1.22/plugins/mendelian2.c:759:13: note: Null pointer dereference bcftools-1.22/plugins/mendelian2.c:760:13: warning: Either the condition '!log_fh' is redundant or there is possible null pointer dereference: log_fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/mendelian2.c:742:14: note: Assuming that condition '!log_fh' is not redundant bcftools-1.22/plugins/mendelian2.c:760:13: note: Null pointer dereference bcftools-1.22/plugins/mendelian2.c:800:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/mendelian2.c:799:36: note: Assuming allocation function fails bcftools-1.22/plugins/mendelian2.c:799:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/mendelian2.c:800:5: note: Null pointer dereference bcftools-1.22/plugins/mendelian2.c:800:26: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/mendelian2.c:799:36: note: Assuming allocation function fails bcftools-1.22/plugins/mendelian2.c:799:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/mendelian2.c:800:26: note: Null pointer dereference bcftools-1.22/plugins/mendelian2.c:801:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/mendelian2.c:799:36: note: Assuming allocation function fails bcftools-1.22/plugins/mendelian2.c:799:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/mendelian2.c:801:5: note: Null pointer dereference bcftools-1.22/plugins/mendelian2.c:802:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/mendelian2.c:799:36: note: Assuming allocation function fails bcftools-1.22/plugins/mendelian2.c:799:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/mendelian2.c:802:5: note: Null pointer dereference bcftools-1.22/plugins/mendelian2.c:803:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/mendelian2.c:799:36: note: Assuming allocation function fails bcftools-1.22/plugins/mendelian2.c:799:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/mendelian2.c:803:5: note: Null pointer dereference bcftools-1.22/plugins/mendelian2.c:804:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/mendelian2.c:799:36: note: Assuming allocation function fails bcftools-1.22/plugins/mendelian2.c:799:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/mendelian2.c:804:5: note: Null pointer dereference bcftools-1.22/plugins/mendelian2.c:805:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/mendelian2.c:799:36: note: Assuming allocation function fails bcftools-1.22/plugins/mendelian2.c:799:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/mendelian2.c:805:5: note: Null pointer dereference bcftools-1.22/plugins/mendelian2.c:709:55: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] bcftools-1.22/plugins/mendelian2.c:394:17: style: Variable 'ta' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/mendelian2.c:395:17: style: Variable 'tb' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/mendelian2.c:619:17: style: Variable 'rule' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/mendelian2.c:632:17: style: Variable 'rule' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/mendelian2.c:681:17: style: Variable 'trio' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/mendelian2.c:807:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/missing2ref.c:81:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/missing2ref.c:100:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_FMT [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/missing2ref.c:138:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/missing2ref.c:67:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/parental-origin.c:122:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/parental-origin.c:157:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VCF_SNP [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/parental-origin.c:330:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/parental-origin.c:326:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/parental-origin.c:325:36: note: Assuming allocation function fails bcftools-1.22/plugins/parental-origin.c:325:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/parental-origin.c:326:5: note: Null pointer dereference bcftools-1.22/plugins/parental-origin.c:326:26: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/parental-origin.c:325:36: note: Assuming allocation function fails bcftools-1.22/plugins/parental-origin.c:325:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/parental-origin.c:326:26: note: Null pointer dereference bcftools-1.22/plugins/parental-origin.c:327:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/parental-origin.c:325:36: note: Assuming allocation function fails bcftools-1.22/plugins/parental-origin.c:325:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/parental-origin.c:327:5: note: Null pointer dereference bcftools-1.22/plugins/parental-origin.c:110:31: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/parental-origin.c:81:8: note: Shadowed variable bcftools-1.22/plugins/parental-origin.c:110:31: note: Shadow argument bcftools-1.22/plugins/parental-origin.c:146:34: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/parental-origin.c:81:8: note: Shadowed variable bcftools-1.22/plugins/parental-origin.c:146:34: note: Shadow argument bcftools-1.22/plugins/parental-origin.c:155:36: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/parental-origin.c:81:8: note: Shadowed variable bcftools-1.22/plugins/parental-origin.c:155:36: note: Shadow argument bcftools-1.22/plugins/parental-origin.c:325:13: style: Local variable 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/parental-origin.c:81:8: note: Shadowed variable bcftools-1.22/plugins/parental-origin.c:325:13: note: Shadow local variable bcftools-1.22/plugins/parental-origin.c:214:22: style: Variable 'dsgP' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/parental-origin.c:214:35: style: Variable 'dsgF' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/parental-origin.c:214:50: style: Variable 'dsgM' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/parental-origin.c:215:20: style: Variable 'glP' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/parental-origin.c:215:31: style: Variable 'glF' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/parental-origin.c:215:44: style: Variable 'glM' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/parental-origin.c:219:18: style: Variable 'src' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/parental-origin.c:328:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/parental-origin.c:395:11: style: Variable 'origin' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/parental-origin.c:59:9: style: struct member 'trio_t::pass' is never used. [unusedStructMember] bcftools-1.22/plugins/prune.c:150:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/prune.c:252:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/prune.c:271:102: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/prune.c:292:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VCFBUF_LD_N [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/prune.c:331:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_VCF [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/prune.c:330:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/prune.c:329:36: note: Assuming allocation function fails bcftools-1.22/plugins/prune.c:329:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/prune.c:330:5: note: Null pointer dereference bcftools-1.22/plugins/prune.c:330:26: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/prune.c:329:36: note: Assuming allocation function fails bcftools-1.22/plugins/prune.c:329:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/prune.c:330:26: note: Null pointer dereference bcftools-1.22/plugins/prune.c:331:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/prune.c:329:36: note: Assuming allocation function fails bcftools-1.22/plugins/prune.c:329:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/prune.c:331:5: note: Null pointer dereference bcftools-1.22/plugins/prune.c:332:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/prune.c:329:36: note: Assuming allocation function fails bcftools-1.22/plugins/prune.c:329:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/prune.c:332:5: note: Null pointer dereference bcftools-1.22/plugins/prune.c:333:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/prune.c:329:36: note: Assuming allocation function fails bcftools-1.22/plugins/prune.c:329:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/prune.c:333:5: note: Null pointer dereference bcftools-1.22/plugins/prune.c:334:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/prune.c:329:36: note: Assuming allocation function fails bcftools-1.22/plugins/prune.c:329:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/prune.c:334:5: note: Null pointer dereference bcftools-1.22/plugins/prune.c:335:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/prune.c:329:36: note: Assuming allocation function fails bcftools-1.22/plugins/prune.c:329:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/prune.c:335:5: note: Null pointer dereference bcftools-1.22/plugins/prune.c:336:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/prune.c:329:36: note: Assuming allocation function fails bcftools-1.22/plugins/prune.c:329:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/prune.c:336:5: note: Null pointer dereference bcftools-1.22/plugins/prune.c:337:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/remove-overlaps.c:105:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_TAB_TEXT [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/remove-overlaps.c:124:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_GZ [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/remove-overlaps.c:163:97: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/remove-overlaps.c:195:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/remove-overlaps.c:218:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_VCF [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/remove-overlaps.c:217:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/remove-overlaps.c:216:36: note: Assuming allocation function fails bcftools-1.22/plugins/remove-overlaps.c:216:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/remove-overlaps.c:217:5: note: Null pointer dereference bcftools-1.22/plugins/remove-overlaps.c:217:26: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/remove-overlaps.c:216:36: note: Assuming allocation function fails bcftools-1.22/plugins/remove-overlaps.c:216:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/remove-overlaps.c:217:26: note: Null pointer dereference bcftools-1.22/plugins/remove-overlaps.c:218:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/remove-overlaps.c:216:36: note: Assuming allocation function fails bcftools-1.22/plugins/remove-overlaps.c:216:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/remove-overlaps.c:218:5: note: Null pointer dereference bcftools-1.22/plugins/remove-overlaps.c:219:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/remove-overlaps.c:216:36: note: Assuming allocation function fails bcftools-1.22/plugins/remove-overlaps.c:216:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/remove-overlaps.c:219:5: note: Null pointer dereference bcftools-1.22/plugins/remove-overlaps.c:220:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/remove-overlaps.c:216:36: note: Assuming allocation function fails bcftools-1.22/plugins/remove-overlaps.c:216:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/remove-overlaps.c:220:5: note: Null pointer dereference bcftools-1.22/plugins/remove-overlaps.c:221:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/remove-overlaps.c:216:36: note: Assuming allocation function fails bcftools-1.22/plugins/remove-overlaps.c:216:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/remove-overlaps.c:221:5: note: Null pointer dereference bcftools-1.22/plugins/remove-overlaps.c:222:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/remove-overlaps.c:216:36: note: Assuming allocation function fails bcftools-1.22/plugins/remove-overlaps.c:216:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/remove-overlaps.c:222:5: note: Null pointer dereference bcftools-1.22/plugins/remove-overlaps.c:223:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/scatter.c:133:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGIDX_MAX [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/scatter.c:184:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_BCF [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/scatter.c:219:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_SR_REGIONS_OVERLAP [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/scatter.c:307:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/scatter.c:339:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_VCF [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/scatter.c:338:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/scatter.c:337:36: note: Assuming allocation function fails bcftools-1.22/plugins/scatter.c:337:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/scatter.c:338:5: note: Null pointer dereference bcftools-1.22/plugins/scatter.c:338:26: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/scatter.c:337:36: note: Assuming allocation function fails bcftools-1.22/plugins/scatter.c:337:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/scatter.c:338:26: note: Null pointer dereference bcftools-1.22/plugins/scatter.c:339:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/scatter.c:337:36: note: Assuming allocation function fails bcftools-1.22/plugins/scatter.c:337:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/scatter.c:339:5: note: Null pointer dereference bcftools-1.22/plugins/scatter.c:340:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/scatter.c:337:36: note: Assuming allocation function fails bcftools-1.22/plugins/scatter.c:337:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/scatter.c:340:5: note: Null pointer dereference bcftools-1.22/plugins/scatter.c:341:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/scatter.c:337:36: note: Assuming allocation function fails bcftools-1.22/plugins/scatter.c:337:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/scatter.c:341:5: note: Null pointer dereference bcftools-1.22/plugins/scatter.c:342:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/scatter.c:337:36: note: Assuming allocation function fails bcftools-1.22/plugins/scatter.c:337:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/scatter.c:342:5: note: Null pointer dereference bcftools-1.22/plugins/scatter.c:343:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/scatter.c:337:36: note: Assuming allocation function fails bcftools-1.22/plugins/scatter.c:337:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/scatter.c:343:5: note: Null pointer dereference bcftools-1.22/plugins/scatter.c:299:19: style: Local variable 'set' shadows outer variable [shadowVariable] bcftools-1.22/plugins/scatter.c:296:15: note: Shadowed variable bcftools-1.22/plugins/scatter.c:299:19: note: Shadow local variable bcftools-1.22/plugins/scatter.c:344:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/setGT.c:176:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/setGT.c:223:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/setGT.c:334:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/setGT.c:348:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/setGT.c:375:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/setGT.c:391:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/setGT.c:406:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_gt_missing [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/setGT.c:452:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/setGT.c:662:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/setGT.c:204:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/setGT.c:203:28: note: Assuming allocation function fails bcftools-1.22/plugins/setGT.c:203:12: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/setGT.c:204:5: note: Null pointer dereference bcftools-1.22/plugins/setGT.c:205:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/setGT.c:203:28: note: Assuming allocation function fails bcftools-1.22/plugins/setGT.c:203:12: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/setGT.c:205:5: note: Null pointer dereference bcftools-1.22/plugins/setGT.c:267:11: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/setGT.c:203:28: note: Assuming allocation function fails bcftools-1.22/plugins/setGT.c:203:12: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/setGT.c:218:72: note: Assuming condition is false bcftools-1.22/plugins/setGT.c:267:11: note: Null pointer dereference bcftools-1.22/plugins/setGT.c:160:31: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/setGT.c:70:9: note: Shadowed variable bcftools-1.22/plugins/setGT.c:160:31: note: Shadow argument bcftools-1.22/plugins/setGT.c:399:41: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/setGT.c:70:9: note: Shadowed variable bcftools-1.22/plugins/setGT.c:399:41: note: Shadow argument bcftools-1.22/plugins/setGT.c:425:39: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/setGT.c:70:9: note: Shadowed variable bcftools-1.22/plugins/setGT.c:425:39: note: Shadow argument bcftools-1.22/plugins/setGT.c:276:76: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] bcftools-1.22/plugins/setGT.c:478:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] bcftools-1.22/plugins/setGT.c:496:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] bcftools-1.22/plugins/setGT.c:209:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/setGT.c:279:15: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/setGT.c:425:39: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/setGT.c:449:26: style: Variable 'src' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/setGT.c:401:36: style: Variable 'new_allele' is assigned a value that is never used. [unreadVariable] bcftools-1.22/plugins/smpl-stats.c:152:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/smpl-stats.c:276:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITY [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/smpl-stats.c:299:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/smpl-stats.c:337:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_INFO [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/smpl-stats.c:438:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/smpl-stats.c:264:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/smpl-stats.c:265:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/smpl-stats.c:266:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/smpl-stats.c:267:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/smpl-stats.c:268:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/smpl-stats.c:269:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/smpl-stats.c:270:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/smpl-stats.c:271:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/smpl-stats.c:272:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/smpl-stats.c:273:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/smpl-stats.c:274:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/smpl-stats.c:275:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/smpl-stats.c:281:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/smpl-stats.c:282:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/smpl-stats.c:283:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/smpl-stats.c:284:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/smpl-stats.c:285:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/smpl-stats.c:286:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/smpl-stats.c:187:22: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] bcftools-1.22/plugins/smpl-stats.c:183:45: note: Assuming allocation function fails bcftools-1.22/plugins/smpl-stats.c:183:45: note: Assignment 'args->filters[i].expr=strdup(args->flt_str[i])', assigned value is 0 bcftools-1.22/plugins/smpl-stats.c:186:41: note: Assignment 'tmp=args->filters[i].expr', assigned value is 0 bcftools-1.22/plugins/smpl-stats.c:187:22: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:189:23: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] bcftools-1.22/plugins/smpl-stats.c:183:45: note: Assuming allocation function fails bcftools-1.22/plugins/smpl-stats.c:183:45: note: Assignment 'args->filters[i].expr=strdup(args->flt_str[i])', assigned value is 0 bcftools-1.22/plugins/smpl-stats.c:186:41: note: Assignment 'tmp=args->filters[i].expr', assigned value is 0 bcftools-1.22/plugins/smpl-stats.c:189:23: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:220:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:220:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:221:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:221:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:222:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:222:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:223:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:223:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:224:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:224:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:225:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:225:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:226:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:226:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:227:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:227:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:228:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:228:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:229:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:229:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:230:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:230:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:231:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:231:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:232:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:232:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:233:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:233:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:234:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:234:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:235:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:235:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:236:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:236:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:237:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:237:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:239:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:239:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:240:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:240:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:241:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:241:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:242:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:242:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:243:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:243:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:244:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:244:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:245:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:245:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:246:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:246:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:247:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:247:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:248:13: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] bcftools-1.22/plugins/smpl-stats.c:219:10: note: Assuming that condition '!fh' is not redundant bcftools-1.22/plugins/smpl-stats.c:248:13: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:434:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/smpl-stats.c:433:36: note: Assuming allocation function fails bcftools-1.22/plugins/smpl-stats.c:433:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/smpl-stats.c:434:5: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:434:26: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/smpl-stats.c:433:36: note: Assuming allocation function fails bcftools-1.22/plugins/smpl-stats.c:433:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/smpl-stats.c:434:26: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:435:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/smpl-stats.c:433:36: note: Assuming allocation function fails bcftools-1.22/plugins/smpl-stats.c:433:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/smpl-stats.c:435:5: note: Null pointer dereference bcftools-1.22/plugins/smpl-stats.c:190:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] bcftools-1.22/plugins/smpl-stats.c:183:45: note: Assuming allocation function fails bcftools-1.22/plugins/smpl-stats.c:183:45: note: Assignment 'args->filters[i].expr=strdup(args->flt_str[i])', assigned value is 0 bcftools-1.22/plugins/smpl-stats.c:186:41: note: Assignment 'tmp=args->filters[i].expr', assigned value is 0 bcftools-1.22/plugins/smpl-stats.c:190:20: note: Null pointer addition bcftools-1.22/plugins/smpl-stats.c:114:35: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/smpl-stats.c:86:8: note: Shadowed variable bcftools-1.22/plugins/smpl-stats.c:114:35: note: Shadow argument bcftools-1.22/plugins/smpl-stats.c:155:31: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/smpl-stats.c:86:8: note: Shadowed variable bcftools-1.22/plugins/smpl-stats.c:155:31: note: Shadow argument bcftools-1.22/plugins/smpl-stats.c:198:34: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/smpl-stats.c:86:8: note: Shadowed variable bcftools-1.22/plugins/smpl-stats.c:198:34: note: Shadow argument bcftools-1.22/plugins/smpl-stats.c:215:34: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/smpl-stats.c:86:8: note: Shadowed variable bcftools-1.22/plugins/smpl-stats.c:215:34: note: Shadow argument bcftools-1.22/plugins/smpl-stats.c:307:36: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/smpl-stats.c:86:8: note: Shadowed variable bcftools-1.22/plugins/smpl-stats.c:307:36: note: Shadow argument bcftools-1.22/plugins/smpl-stats.c:433:13: style: Local variable 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/smpl-stats.c:86:8: note: Shadowed variable bcftools-1.22/plugins/smpl-stats.c:433:13: note: Shadow local variable bcftools-1.22/plugins/smpl-stats.c:253:22: style: Variable 'flt' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/smpl-stats.c:436:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/split-vep.c:409:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/split-vep.c:450:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_HT_STR [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/split-vep.c:582:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/split-vep.c:651:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_HT_STR [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/split-vep.c:822:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/split-vep.c:866:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_SR_REGIONS_OVERLAP [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/split-vep.c:1120:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/split-vep.c:1204:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/split-vep.c:1231:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/split-vep.c:1265:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/split-vep.c:1286:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_HT_REAL [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/split-vep.c:1424:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/split-vep.c:1504:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/split-vep.c:1554:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/split-vep.c:691:9: error: Common realloc mistake: 'column' nulled but not freed upon failure [memleakOnRealloc] bcftools-1.22/plugins/split-vep.c:692:9: error: Common realloc mistake: 'types' nulled but not freed upon failure [memleakOnRealloc] bcftools-1.22/plugins/split-vep.c:377:18: warning: If memory allocation fails, then there is a possible null pointer dereference: beg [nullPointerOutOfMemory] bcftools-1.22/plugins/split-vep.c:375:27: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:375:27: note: Assignment 'str=strdup(default_column_types())', assigned value is 0 bcftools-1.22/plugins/split-vep.c:376:21: note: Assignment 'beg=str', assigned value is 0 bcftools-1.22/plugins/split-vep.c:377:18: note: Null pointer dereference bcftools-1.22/plugins/split-vep.c:380:22: warning: If memory allocation fails, then there is a possible null pointer dereference: end [nullPointerOutOfMemory] bcftools-1.22/plugins/split-vep.c:375:27: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:375:27: note: Assignment 'str=strdup(default_column_types())', assigned value is 0 bcftools-1.22/plugins/split-vep.c:376:21: note: Assignment 'beg=str', assigned value is 0 bcftools-1.22/plugins/split-vep.c:379:25: note: Assignment 'end=beg', assigned value is 0 bcftools-1.22/plugins/split-vep.c:380:22: note: Null pointer dereference bcftools-1.22/plugins/split-vep.c:500:18: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] bcftools-1.22/plugins/split-vep.c:529:23: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:529:23: note: Assignment 'tmp=calloc(str_len+prefix_len+1,1)', assigned value is 0 bcftools-1.22/plugins/split-vep.c:532:31: note: Calling function 'sanitize_field_name', 1st argument 'tmp' value is 0 bcftools-1.22/plugins/split-vep.c:500:18: note: Null pointer dereference bcftools-1.22/plugins/split-vep.c:502:10: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] bcftools-1.22/plugins/split-vep.c:529:23: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:529:23: note: Assignment 'tmp=calloc(str_len+prefix_len+1,1)', assigned value is 0 bcftools-1.22/plugins/split-vep.c:532:31: note: Calling function 'sanitize_field_name', 1st argument 'tmp' value is 0 bcftools-1.22/plugins/split-vep.c:500:10: note: Assuming condition is false bcftools-1.22/plugins/split-vep.c:502:10: note: Null pointer dereference bcftools-1.22/plugins/split-vep.c:507:9: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] bcftools-1.22/plugins/split-vep.c:506:28: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:506:15: note: Assignment 'tmp=(char*)malloc(len+1)', assigned value is 0 bcftools-1.22/plugins/split-vep.c:507:9: note: Null pointer dereference bcftools-1.22/plugins/split-vep.c:512:14: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] bcftools-1.22/plugins/split-vep.c:506:28: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:506:15: note: Assignment 'tmp=(char*)malloc(len+1)', assigned value is 0 bcftools-1.22/plugins/split-vep.c:512:14: note: Null pointer dereference bcftools-1.22/plugins/split-vep.c:527:26: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] bcftools-1.22/plugins/split-vep.c:798:24: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:798:24: note: Assignment 'expr=strdup(cnst_expr)', assigned value is 0 bcftools-1.22/plugins/split-vep.c:805:60: note: Calling function 'strdup_annot_prefix', 2nd argument 'expr' value is 0 bcftools-1.22/plugins/split-vep.c:522:10: note: Assuming condition is false bcftools-1.22/plugins/split-vep.c:527:26: note: Null pointer dereference bcftools-1.22/plugins/split-vep.c:530:12: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] bcftools-1.22/plugins/split-vep.c:529:23: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:529:23: note: Assignment 'tmp=calloc(str_len+prefix_len+1,1)', assigned value is 0 bcftools-1.22/plugins/split-vep.c:530:12: note: Null pointer dereference bcftools-1.22/plugins/split-vep.c:531:27: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] bcftools-1.22/plugins/split-vep.c:798:24: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:798:24: note: Assignment 'expr=strdup(cnst_expr)', assigned value is 0 bcftools-1.22/plugins/split-vep.c:805:60: note: Calling function 'strdup_annot_prefix', 2nd argument 'expr' value is 0 bcftools-1.22/plugins/split-vep.c:522:10: note: Assuming condition is false bcftools-1.22/plugins/split-vep.c:531:27: note: Null pointer dereference bcftools-1.22/plugins/split-vep.c:800:14: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] bcftools-1.22/plugins/split-vep.c:798:24: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:798:24: note: Assignment 'expr=strdup(cnst_expr)', assigned value is 0 bcftools-1.22/plugins/split-vep.c:799:17: note: Assignment 'ptr=expr', assigned value is 0 bcftools-1.22/plugins/split-vep.c:800:14: note: Null pointer dereference bcftools-1.22/plugins/split-vep.c:802:15: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] bcftools-1.22/plugins/split-vep.c:798:24: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:798:24: note: Assignment 'expr=strdup(cnst_expr)', assigned value is 0 bcftools-1.22/plugins/split-vep.c:799:17: note: Assignment 'ptr=expr', assigned value is 0 bcftools-1.22/plugins/split-vep.c:802:15: note: Null pointer dereference bcftools-1.22/plugins/split-vep.c:813:20: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] bcftools-1.22/plugins/split-vep.c:798:24: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:798:24: note: Assignment 'expr=strdup(cnst_expr)', assigned value is 0 bcftools-1.22/plugins/split-vep.c:799:17: note: Assignment 'ptr=expr', assigned value is 0 bcftools-1.22/plugins/split-vep.c:813:20: note: Null pointer dereference bcftools-1.22/plugins/split-vep.c:826:20: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] bcftools-1.22/plugins/split-vep.c:798:24: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:798:24: note: Assignment 'expr=strdup(cnst_expr)', assigned value is 0 bcftools-1.22/plugins/split-vep.c:799:17: note: Assignment 'ptr=expr', assigned value is 0 bcftools-1.22/plugins/split-vep.c:826:20: note: Null pointer dereference bcftools-1.22/plugins/split-vep.c:1545:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/split-vep.c:1544:36: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:1544:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/split-vep.c:1545:5: note: Null pointer dereference bcftools-1.22/plugins/split-vep.c:1545:26: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/split-vep.c:1544:36: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:1544:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/split-vep.c:1545:26: note: Null pointer dereference bcftools-1.22/plugins/split-vep.c:1546:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/split-vep.c:1544:36: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:1544:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/split-vep.c:1546:5: note: Null pointer dereference bcftools-1.22/plugins/split-vep.c:1547:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/split-vep.c:1544:36: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:1544:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/split-vep.c:1547:5: note: Null pointer dereference bcftools-1.22/plugins/split-vep.c:1548:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/split-vep.c:1544:36: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:1544:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/split-vep.c:1548:5: note: Null pointer dereference bcftools-1.22/plugins/split-vep.c:1549:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/split-vep.c:1544:36: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:1544:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/split-vep.c:1549:5: note: Null pointer dereference bcftools-1.22/plugins/split-vep.c:1550:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/split-vep.c:1544:36: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:1544:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/split-vep.c:1550:5: note: Null pointer dereference bcftools-1.22/plugins/split-vep.c:1551:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/split-vep.c:1544:36: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:1544:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/split-vep.c:1551:5: note: Null pointer dereference bcftools-1.22/plugins/split-vep.c:508:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] bcftools-1.22/plugins/split-vep.c:506:28: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:506:15: note: Assignment 'tmp=(char*)malloc(len+1)', assigned value is 0 bcftools-1.22/plugins/split-vep.c:508:19: note: Null pointer addition bcftools-1.22/plugins/split-vep.c:531:15: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] bcftools-1.22/plugins/split-vep.c:529:23: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:529:23: note: Assignment 'tmp=calloc(str_len+prefix_len+1,1)', assigned value is 0 bcftools-1.22/plugins/split-vep.c:531:15: note: Null pointer addition bcftools-1.22/plugins/split-vep.c:896:12: warning: Either the condition '!format' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] bcftools-1.22/plugins/split-vep.c:895:10: note: Assuming that condition '!format' is not redundant bcftools-1.22/plugins/split-vep.c:896:12: note: Null pointer addition bcftools-1.22/plugins/split-vep.c:898:33: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] bcftools-1.22/plugins/split-vep.c:897:30: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:897:30: note: Assignment 'args->vep_format=strdup(format)', assigned value is 0 bcftools-1.22/plugins/split-vep.c:898:33: note: Null pointer addition bcftools-1.22/plugins/split-vep.c:319:35: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:319:35: note: Shadow argument bcftools-1.22/plugins/split-vep.c:334:43: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:334:43: note: Shadow argument bcftools-1.22/plugins/split-vep.c:367:38: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:367:38: note: Shadow argument bcftools-1.22/plugins/split-vep.c:424:41: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:424:41: note: Shadow argument bcftools-1.22/plugins/split-vep.c:437:44: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:437:44: note: Shadow argument bcftools-1.22/plugins/split-vep.c:519:35: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:519:35: note: Shadow argument bcftools-1.22/plugins/split-vep.c:536:36: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:536:36: note: Shadow argument bcftools-1.22/plugins/split-vep.c:570:38: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:570:38: note: Shadow argument bcftools-1.22/plugins/split-vep.c:602:38: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:602:38: note: Shadow argument bcftools-1.22/plugins/split-vep.c:763:38: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:763:38: note: Shadow argument bcftools-1.22/plugins/split-vep.c:796:34: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:796:34: note: Shadow argument bcftools-1.22/plugins/split-vep.c:860:31: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:860:31: note: Shadow argument bcftools-1.22/plugins/split-vep.c:991:13: style: Local variable 'severity' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:931:9: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:991:13: note: Shadow local variable bcftools-1.22/plugins/split-vep.c:1038:34: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:1038:34: note: Shadow argument bcftools-1.22/plugins/split-vep.c:1086:33: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:1086:33: note: Shadow argument bcftools-1.22/plugins/split-vep.c:1092:37: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:1092:37: note: Shadow argument bcftools-1.22/plugins/split-vep.c:1145:38: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:1145:38: note: Shadow argument bcftools-1.22/plugins/split-vep.c:1156:44: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:1156:44: note: Shadow argument bcftools-1.22/plugins/split-vep.c:1185:41: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:1185:41: note: Shadow argument bcftools-1.22/plugins/split-vep.c:1279:39: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:1279:39: note: Shadow argument bcftools-1.22/plugins/split-vep.c:1326:44: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:1326:44: note: Shadow argument bcftools-1.22/plugins/split-vep.c:1371:33: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:1371:33: note: Shadow argument bcftools-1.22/plugins/split-vep.c:1401:38: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:1401:38: note: Shadow argument bcftools-1.22/plugins/split-vep.c:1444:36: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:1444:36: note: Shadow argument bcftools-1.22/plugins/split-vep.c:1544:13: style: Local variable 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:1544:13: note: Shadow local variable bcftools-1.22/plugins/split-vep.c:437:56: style: Parameter 'field' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/split-vep.c:519:35: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/split-vep.c:903:15: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/split-vep.c:956:15: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/split-vep.c:974:11: style: Variable 'sel_tr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/split-vep.c:1086:33: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/split-vep.c:1211:46: style: Parameter 'ann' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/split-vep.c:1245:47: style: Parameter 'ann' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/split-vep.c:1552:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/split.c:221:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_SAMPLE [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/split.c:371:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_SR_REGIONS_OVERLAP [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/split.c:588:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_FMT [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/split.c:612:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_ALL [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/split.c:640:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_VCF [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/split.c:328:18: style: Condition '!*ptr' is always true [knownConditionTrueFalse] bcftools-1.22/plugins/split.c:301:20: note: Assignment '*ptr=0', assigned value is 0 bcftools-1.22/plugins/split.c:304:22: note: Assuming condition is false bcftools-1.22/plugins/split.c:328:18: note: Condition '!*ptr' is always true bcftools-1.22/plugins/split.c:639:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/split.c:638:36: note: Assuming allocation function fails bcftools-1.22/plugins/split.c:638:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/split.c:639:5: note: Null pointer dereference bcftools-1.22/plugins/split.c:639:26: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/split.c:638:36: note: Assuming allocation function fails bcftools-1.22/plugins/split.c:638:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/split.c:639:26: note: Null pointer dereference bcftools-1.22/plugins/split.c:640:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/split.c:638:36: note: Assuming allocation function fails bcftools-1.22/plugins/split.c:638:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/split.c:640:5: note: Null pointer dereference bcftools-1.22/plugins/split.c:641:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/split.c:638:36: note: Assuming allocation function fails bcftools-1.22/plugins/split.c:638:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/split.c:641:5: note: Null pointer dereference bcftools-1.22/plugins/split.c:642:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/split.c:638:36: note: Assuming allocation function fails bcftools-1.22/plugins/split.c:638:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/split.c:642:5: note: Null pointer dereference bcftools-1.22/plugins/split.c:643:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/split.c:638:36: note: Assuming allocation function fails bcftools-1.22/plugins/split.c:638:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/split.c:643:5: note: Null pointer dereference bcftools-1.22/plugins/split.c:429:13: style: Local variable 'j' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split.c:384:11: note: Shadowed variable bcftools-1.22/plugins/split.c:429:13: note: Shadow local variable bcftools-1.22/plugins/split.c:538:37: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/split.c:538:53: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/split.c:572:25: style: Variable 'info' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/split.c:586:39: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/split.c:586:55: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/split.c:644:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/tag2tag.c:205:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_missing [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/tag2tag.c:227:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_missing [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/tag2tag.c:486:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_HT_REAL [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/tag2tag.c:224:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/tag2tag.c:223:28: note: Assuming allocation function fails bcftools-1.22/plugins/tag2tag.c:223:12: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/tag2tag.c:224:5: note: Null pointer dereference bcftools-1.22/plugins/tag2tag.c:225:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/tag2tag.c:223:28: note: Assuming allocation function fails bcftools-1.22/plugins/tag2tag.c:223:12: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/tag2tag.c:225:5: note: Null pointer dereference bcftools-1.22/plugins/tag2tag.c:226:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/tag2tag.c:223:28: note: Assuming allocation function fails bcftools-1.22/plugins/tag2tag.c:223:12: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/tag2tag.c:226:5: note: Null pointer dereference bcftools-1.22/plugins/tag2tag.c:226:17: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/tag2tag.c:223:28: note: Assuming allocation function fails bcftools-1.22/plugins/tag2tag.c:223:12: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/tag2tag.c:226:17: note: Null pointer dereference bcftools-1.22/plugins/tag2tag.c:227:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/tag2tag.c:223:28: note: Assuming allocation function fails bcftools-1.22/plugins/tag2tag.c:223:12: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/tag2tag.c:227:5: note: Null pointer dereference bcftools-1.22/plugins/tag2tag.c:228:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/tag2tag.c:223:28: note: Assuming allocation function fails bcftools-1.22/plugins/tag2tag.c:223:12: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/tag2tag.c:228:5: note: Null pointer dereference bcftools-1.22/plugins/tag2tag.c:261:10: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/tag2tag.c:223:28: note: Assuming allocation function fails bcftools-1.22/plugins/tag2tag.c:223:12: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/tag2tag.c:241:69: note: Assuming condition is false bcftools-1.22/plugins/tag2tag.c:261:10: note: Null pointer dereference bcftools-1.22/plugins/tag2tag.c:125:41: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/tag2tag.c:76:16: note: Shadowed variable bcftools-1.22/plugins/tag2tag.c:125:41: note: Shadow argument bcftools-1.22/plugins/tag2tag.c:195:29: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/tag2tag.c:76:16: note: Shadowed variable bcftools-1.22/plugins/tag2tag.c:195:29: note: Shadow argument bcftools-1.22/plugins/tag2tag.c:230:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/tag2tag.c:380:22: style: Variable 'laa' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/tag2tag.c:382:22: style: Variable 'src' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/tag2tag.c:410:22: style: Variable 'laa' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/tag2tag.c:412:22: style: Variable 'src' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/trio-dnm2.c:227:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KS_SEP_LINE [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/trio-dnm2.c:690:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_SR_REGIONS_OVERLAP [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/trio-dnm2.c:839:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/trio-dnm2.c:869:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/trio-dnm2.c:881:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/trio-dnm2.c:1000:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/trio-dnm2.c:1279:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/trio-dnm2.c:1305:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/trio-dnm2.c:1332:105: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/trio-dnm2.c:1380:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VCF_REF [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/trio-dnm2.c:1557:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/trio-dnm2.c:1644:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/trio-dnm2.c:1575:19: style: Redundant condition: The condition '*tmp' is redundant since '*tmp == ','' is sufficient. [redundantCondition] bcftools-1.22/plugins/trio-dnm2.c:1591:19: style: Redundant condition: The condition '*tmp' is redundant since '*tmp == ','' is sufficient. [redundantCondition] bcftools-1.22/plugins/trio-dnm2.c:1699:27: style: Redundant condition: The condition '*tmp' is redundant since '*tmp == ','' is sufficient. [redundantCondition] bcftools-1.22/plugins/trio-dnm2.c:1729:27: style: Redundant condition: The condition '*tmp' is redundant since '*tmp == ','' is sufficient. [redundantCondition] bcftools-1.22/plugins/trio-dnm2.c:871:16: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] bcftools-1.22/plugins/trio-dnm2.c:873:16: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] bcftools-1.22/plugins/trio-dnm2.c:782:14: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] bcftools-1.22/plugins/trio-dnm2.c:781:24: note: Assuming allocation function fails bcftools-1.22/plugins/trio-dnm2.c:781:24: note: Assignment 'rmme=strdup(args->chrX_list_str)', assigned value is 0 bcftools-1.22/plugins/trio-dnm2.c:781:54: note: Assignment 'tmp=rmme', assigned value is 0 bcftools-1.22/plugins/trio-dnm2.c:782:14: note: Null pointer dereference bcftools-1.22/plugins/trio-dnm2.c:784:15: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] bcftools-1.22/plugins/trio-dnm2.c:781:24: note: Assuming allocation function fails bcftools-1.22/plugins/trio-dnm2.c:781:24: note: Assignment 'rmme=strdup(args->chrX_list_str)', assigned value is 0 bcftools-1.22/plugins/trio-dnm2.c:781:54: note: Assignment 'tmp=rmme', assigned value is 0 bcftools-1.22/plugins/trio-dnm2.c:784:15: note: Null pointer dereference bcftools-1.22/plugins/trio-dnm2.c:1562:24: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] bcftools-1.22/plugins/trio-dnm2.c:1561:23: note: Assuming allocation function fails bcftools-1.22/plugins/trio-dnm2.c:1561:23: note: Assignment 'opt=strdup(optarg)', assigned value is 0 bcftools-1.22/plugins/trio-dnm2.c:1562:24: note: Null pointer dereference bcftools-1.22/plugins/trio-dnm2.c:1567:30: warning: Either the condition '!val' is redundant or there is possible null pointer dereference: val. [nullPointerRedundantCheck] bcftools-1.22/plugins/trio-dnm2.c:1566:14: note: Assuming that condition '!val' is not redundant bcftools-1.22/plugins/trio-dnm2.c:1567:30: note: Null pointer dereference bcftools-1.22/plugins/trio-dnm2.c:1574:26: warning: Either the condition '!val' is redundant or there is possible null pointer dereference: val. [nullPointerRedundantCheck] bcftools-1.22/plugins/trio-dnm2.c:1572:14: note: Assuming that condition '!val' is not redundant bcftools-1.22/plugins/trio-dnm2.c:1574:26: note: Null pointer dereference bcftools-1.22/plugins/trio-dnm2.c:1590:26: warning: Either the condition '!val' is redundant or there is possible null pointer dereference: val. [nullPointerRedundantCheck] bcftools-1.22/plugins/trio-dnm2.c:1588:14: note: Assuming that condition '!val' is not redundant bcftools-1.22/plugins/trio-dnm2.c:1590:26: note: Null pointer dereference bcftools-1.22/plugins/trio-dnm2.c:1609:38: warning: Either the condition '!val' is redundant or there is possible null pointer dereference: val. [nullPointerRedundantCheck] bcftools-1.22/plugins/trio-dnm2.c:1607:14: note: Assuming that condition '!val' is not redundant bcftools-1.22/plugins/trio-dnm2.c:1609:38: note: Null pointer dereference bcftools-1.22/plugins/trio-dnm2.c:1615:36: warning: Either the condition '!val' is redundant or there is possible null pointer dereference: val. [nullPointerRedundantCheck] bcftools-1.22/plugins/trio-dnm2.c:1613:14: note: Assuming that condition '!val' is not redundant bcftools-1.22/plugins/trio-dnm2.c:1615:36: note: Null pointer dereference bcftools-1.22/plugins/trio-dnm2.c:1621:39: warning: Either the condition '!val' is redundant or there is possible null pointer dereference: val. [nullPointerRedundantCheck] bcftools-1.22/plugins/trio-dnm2.c:1619:14: note: Assuming that condition '!val' is not redundant bcftools-1.22/plugins/trio-dnm2.c:1621:39: note: Null pointer dereference bcftools-1.22/plugins/trio-dnm2.c:1629:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/trio-dnm2.c:1628:36: note: Assuming allocation function fails bcftools-1.22/plugins/trio-dnm2.c:1628:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/trio-dnm2.c:1629:5: note: Null pointer dereference bcftools-1.22/plugins/trio-dnm2.c:1629:26: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/trio-dnm2.c:1628:36: note: Assuming allocation function fails bcftools-1.22/plugins/trio-dnm2.c:1628:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/trio-dnm2.c:1629:26: note: Null pointer dereference bcftools-1.22/plugins/trio-dnm2.c:1630:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/trio-dnm2.c:1628:36: note: Assuming allocation function fails bcftools-1.22/plugins/trio-dnm2.c:1628:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/trio-dnm2.c:1630:5: note: Null pointer dereference bcftools-1.22/plugins/trio-dnm2.c:1631:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/trio-dnm2.c:1628:36: note: Assuming allocation function fails bcftools-1.22/plugins/trio-dnm2.c:1628:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/trio-dnm2.c:1631:5: note: Null pointer dereference bcftools-1.22/plugins/trio-dnm2.c:1632:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/trio-dnm2.c:1628:36: note: Assuming allocation function fails bcftools-1.22/plugins/trio-dnm2.c:1628:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/trio-dnm2.c:1632:5: note: Null pointer dereference bcftools-1.22/plugins/trio-dnm2.c:1633:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/trio-dnm2.c:1628:36: note: Assuming allocation function fails bcftools-1.22/plugins/trio-dnm2.c:1628:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/trio-dnm2.c:1633:5: note: Null pointer dereference bcftools-1.22/plugins/trio-dnm2.c:1634:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/trio-dnm2.c:1628:36: note: Assuming allocation function fails bcftools-1.22/plugins/trio-dnm2.c:1628:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/trio-dnm2.c:1634:5: note: Null pointer dereference bcftools-1.22/plugins/trio-dnm2.c:1635:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/trio-dnm2.c:1628:36: note: Assuming allocation function fails bcftools-1.22/plugins/trio-dnm2.c:1628:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/trio-dnm2.c:1635:5: note: Null pointer dereference bcftools-1.22/plugins/trio-dnm2.c:1636:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/trio-dnm2.c:1628:36: note: Assuming allocation function fails bcftools-1.22/plugins/trio-dnm2.c:1628:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/trio-dnm2.c:1636:5: note: Null pointer dereference bcftools-1.22/plugins/trio-dnm2.c:1637:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/trio-dnm2.c:1628:36: note: Assuming allocation function fails bcftools-1.22/plugins/trio-dnm2.c:1628:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/trio-dnm2.c:1637:5: note: Null pointer dereference bcftools-1.22/plugins/trio-dnm2.c:1638:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/trio-dnm2.c:1628:36: note: Assuming allocation function fails bcftools-1.22/plugins/trio-dnm2.c:1628:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/trio-dnm2.c:1638:5: note: Null pointer dereference bcftools-1.22/plugins/trio-dnm2.c:1639:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/trio-dnm2.c:1628:36: note: Assuming allocation function fails bcftools-1.22/plugins/trio-dnm2.c:1628:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/trio-dnm2.c:1639:5: note: Null pointer dereference bcftools-1.22/plugins/trio-dnm2.c:1640:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/trio-dnm2.c:1628:36: note: Assuming allocation function fails bcftools-1.22/plugins/trio-dnm2.c:1628:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/trio-dnm2.c:1640:5: note: Null pointer dereference bcftools-1.22/plugins/trio-dnm2.c:1641:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/trio-dnm2.c:1628:36: note: Assuming allocation function fails bcftools-1.22/plugins/trio-dnm2.c:1628:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/trio-dnm2.c:1641:5: note: Null pointer dereference bcftools-1.22/plugins/trio-dnm2.c:785:12: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] bcftools-1.22/plugins/trio-dnm2.c:781:24: note: Assuming allocation function fails bcftools-1.22/plugins/trio-dnm2.c:781:24: note: Assignment 'rmme=strdup(args->chrX_list_str)', assigned value is 0 bcftools-1.22/plugins/trio-dnm2.c:781:54: note: Assignment 'tmp=rmme', assigned value is 0 bcftools-1.22/plugins/trio-dnm2.c:785:12: note: Null pointer addition bcftools-1.22/plugins/trio-dnm2.c:881:12: style:inconclusive: Same expression used in consecutive assignments of 'sum' and 'max'. [duplicateAssignExpression] bcftools-1.22/plugins/trio-dnm2.c:881:29: note: Same expression used in consecutive assignments of 'sum' and 'max'. bcftools-1.22/plugins/trio-dnm2.c:881:12: note: Same expression used in consecutive assignments of 'sum' and 'max'. bcftools-1.22/plugins/trio-dnm2.c:1000:12: style:inconclusive: Same expression used in consecutive assignments of 'sum' and 'max'. [duplicateAssignExpression] bcftools-1.22/plugins/trio-dnm2.c:1000:29: note: Same expression used in consecutive assignments of 'sum' and 'max'. bcftools-1.22/plugins/trio-dnm2.c:1000:12: note: Same expression used in consecutive assignments of 'sum' and 'max'. bcftools-1.22/plugins/trio-dnm2.c:270:17: style: Variable 'ta' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/trio-dnm2.c:271:17: style: Variable 'tb' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/trio-dnm2.c:288:46: style: Parameter 'gt' can be declared as const array [constParameter] bcftools-1.22/plugins/trio-dnm2.c:452:42: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/trio-dnm2.c:502:38: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/trio-dnm2.c:546:43: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/trio-dnm2.c:875:40: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/trio-dnm2.c:875:56: style: Parameter 'priors' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/trio-dnm2.c:994:56: style: Parameter 'priors' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/trio-dnm2.c:994:82: style: Parameter 'pl' can be declared as const array [constParameter] bcftools-1.22/plugins/trio-dnm2.c:1046:81: style: Parameter 'gts' can be declared as const array [constParameter] bcftools-1.22/plugins/trio-dnm2.c:1116:13: style: Variable 'arr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/trio-dnm2.c:1147:33: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/trio-dnm2.c:1147:47: style: Parameter 'trio' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/trio-dnm2.c:1152:18: style: Variable 'src' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/trio-dnm2.c:1159:33: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/trio-dnm2.c:1159:47: style: Parameter 'trio' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/trio-dnm2.c:1164:18: style: Variable 'qs' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/trio-dnm2.c:1169:39: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/trio-dnm2.c:1169:53: style: Parameter 'trio' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/trio-dnm2.c:1169:105: style: Parameter 'pnoise' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/trio-dnm2.c:1171:14: style: Variable 'ad_f' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/trio-dnm2.c:1171:28: style: Variable 'ad_m' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/trio-dnm2.c:1185:18: style: Variable 'ad' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/trio-dnm2.c:1186:18: style: Variable 'qs' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/trio-dnm2.c:1270:32: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/trio-dnm2.c:1270:46: style: Parameter 'trio' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/trio-dnm2.c:1275:18: style: Variable 'src' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/trio-dnm2.c:1294:56: style: Parameter 'trio' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/trio-dnm2.c:1301:18: style: Variable 'src' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/trio-dnm2.c:1521:30: style: Variable 'src' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/trio-dnm2.c:1642:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/trio-stats.c:174:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KS_SEP_LINE [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/trio-stats.c:270:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/trio-stats.c:295:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_SAMPLE [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/trio-stats.c:450:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITY [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/trio-stats.c:465:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/trio-stats.c:527:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_INFO [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/trio-stats.c:716:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/trio-stats.c:442:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/trio-stats.c:443:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/trio-stats.c:444:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/trio-stats.c:445:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/trio-stats.c:446:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/trio-stats.c:447:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/trio-stats.c:448:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/trio-stats.c:449:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/trio-stats.c:451:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/trio-stats.c:452:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/trio-stats.c:332:22: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] bcftools-1.22/plugins/trio-stats.c:328:45: note: Assuming allocation function fails bcftools-1.22/plugins/trio-stats.c:328:45: note: Assignment 'args->filters[i].expr=strdup(args->flt_str[i])', assigned value is 0 bcftools-1.22/plugins/trio-stats.c:331:41: note: Assignment 'tmp=args->filters[i].expr', assigned value is 0 bcftools-1.22/plugins/trio-stats.c:332:22: note: Null pointer dereference bcftools-1.22/plugins/trio-stats.c:334:23: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] bcftools-1.22/plugins/trio-stats.c:328:45: note: Assuming allocation function fails bcftools-1.22/plugins/trio-stats.c:328:45: note: Assignment 'args->filters[i].expr=strdup(args->flt_str[i])', assigned value is 0 bcftools-1.22/plugins/trio-stats.c:331:41: note: Assignment 'tmp=args->filters[i].expr', assigned value is 0 bcftools-1.22/plugins/trio-stats.c:334:23: note: Null pointer dereference bcftools-1.22/plugins/trio-stats.c:712:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/trio-stats.c:711:36: note: Assuming allocation function fails bcftools-1.22/plugins/trio-stats.c:711:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/trio-stats.c:712:5: note: Null pointer dereference bcftools-1.22/plugins/trio-stats.c:712:26: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/trio-stats.c:711:36: note: Assuming allocation function fails bcftools-1.22/plugins/trio-stats.c:711:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/trio-stats.c:712:26: note: Null pointer dereference bcftools-1.22/plugins/trio-stats.c:713:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/trio-stats.c:711:36: note: Assuming allocation function fails bcftools-1.22/plugins/trio-stats.c:711:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/trio-stats.c:713:5: note: Null pointer dereference bcftools-1.22/plugins/trio-stats.c:335:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] bcftools-1.22/plugins/trio-stats.c:328:45: note: Assuming allocation function fails bcftools-1.22/plugins/trio-stats.c:328:45: note: Assignment 'args->filters[i].expr=strdup(args->flt_str[i])', assigned value is 0 bcftools-1.22/plugins/trio-stats.c:331:41: note: Assignment 'tmp=args->filters[i].expr', assigned value is 0 bcftools-1.22/plugins/trio-stats.c:335:20: note: Null pointer addition bcftools-1.22/plugins/trio-stats.c:168:31: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/trio-stats.c:118:8: note: Shadowed variable bcftools-1.22/plugins/trio-stats.c:168:31: note: Shadow argument bcftools-1.22/plugins/trio-stats.c:232:35: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/trio-stats.c:118:8: note: Shadowed variable bcftools-1.22/plugins/trio-stats.c:232:35: note: Shadow argument bcftools-1.22/plugins/trio-stats.c:273:31: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/trio-stats.c:118:8: note: Shadowed variable bcftools-1.22/plugins/trio-stats.c:273:31: note: Shadow argument bcftools-1.22/plugins/trio-stats.c:367:37: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/trio-stats.c:118:8: note: Shadowed variable bcftools-1.22/plugins/trio-stats.c:367:37: note: Shadow argument bcftools-1.22/plugins/trio-stats.c:385:39: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/trio-stats.c:118:8: note: Shadowed variable bcftools-1.22/plugins/trio-stats.c:385:39: note: Shadow argument bcftools-1.22/plugins/trio-stats.c:396:42: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/trio-stats.c:118:8: note: Shadowed variable bcftools-1.22/plugins/trio-stats.c:396:42: note: Shadow argument bcftools-1.22/plugins/trio-stats.c:402:34: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/trio-stats.c:118:8: note: Shadowed variable bcftools-1.22/plugins/trio-stats.c:402:34: note: Shadow argument bcftools-1.22/plugins/trio-stats.c:424:34: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/trio-stats.c:118:8: note: Shadowed variable bcftools-1.22/plugins/trio-stats.c:424:34: note: Shadow argument bcftools-1.22/plugins/trio-stats.c:473:36: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/trio-stats.c:118:8: note: Shadowed variable bcftools-1.22/plugins/trio-stats.c:473:36: note: Shadow argument bcftools-1.22/plugins/trio-stats.c:711:13: style: Local variable 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/trio-stats.c:118:8: note: Shadowed variable bcftools-1.22/plugins/trio-stats.c:711:13: note: Shadow local variable bcftools-1.22/plugins/trio-stats.c:429:22: style: Variable 'flt' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/trio-stats.c:714:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/trio-switch-rate.c:99:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KS_SEP_LINE [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/trio-switch-rate.c:164:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/trio-switch-rate.c:185:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_gt_missing [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/trio-switch-rate.c:247:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_SAMPLE [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/trio-switch-rate.c:246:9: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/trio-switch-rate.c:246:9: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/trio-switch-rate.c:246:9: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/trio-switch-rate.c:265:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/trio-switch-rate.c:93:24: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/trio-switch-rate.c:68:8: note: Shadowed variable bcftools-1.22/plugins/trio-switch-rate.c:93:24: note: Shadow argument bcftools-1.22/plugins/trio-switch-rate.c:154:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/trio-switch-rate.c:264:16: style: Variable 'pop' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/variant-distance.c:130:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/variant-distance.c:153:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/variant-distance.c:180:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/variant-distance.c:235:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_VCF [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/variant-distance.c:234:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/variant-distance.c:233:36: note: Assuming allocation function fails bcftools-1.22/plugins/variant-distance.c:233:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/variant-distance.c:234:5: note: Null pointer dereference bcftools-1.22/plugins/variant-distance.c:234:26: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/variant-distance.c:233:36: note: Assuming allocation function fails bcftools-1.22/plugins/variant-distance.c:233:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/variant-distance.c:234:26: note: Null pointer dereference bcftools-1.22/plugins/variant-distance.c:235:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/variant-distance.c:233:36: note: Assuming allocation function fails bcftools-1.22/plugins/variant-distance.c:233:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/variant-distance.c:235:5: note: Null pointer dereference bcftools-1.22/plugins/variant-distance.c:236:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/variant-distance.c:233:36: note: Assuming allocation function fails bcftools-1.22/plugins/variant-distance.c:233:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/variant-distance.c:236:5: note: Null pointer dereference bcftools-1.22/plugins/variant-distance.c:237:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/variant-distance.c:233:36: note: Assuming allocation function fails bcftools-1.22/plugins/variant-distance.c:233:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/variant-distance.c:237:5: note: Null pointer dereference bcftools-1.22/plugins/variant-distance.c:209:13: style: Variable 'rec0' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/variant-distance.c:238:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/variantkey-hex.c:83:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/variantkey-hex.c:108:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_CTG [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:162:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:171:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:178:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:185:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:214:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:220:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:227:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:244:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:276:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:289:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:300:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:330:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:337:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:358:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:368:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:378:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:390:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:408:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:429:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:444:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:455:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:470:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:500:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:526:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:617:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_CTG [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:734:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:903:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KS_INITIALIZE [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vcf2table.c:917:3: warning: %ld in format string (no. 4) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/vcf2table.c:1390:3: warning: %ld in format string (no. 4) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] bcftools-1.22/plugins/vcf2table.c:467:10: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] bcftools-1.22/plugins/vcf2table.c:1246:26: note: Assuming allocation function fails bcftools-1.22/plugins/vcf2table.c:1246:26: note: Assignment 'gt=strdup(StringListAt(values,gt_col))', assigned value is 0 bcftools-1.22/plugins/vcf2table.c:1252:48: note: Calling function 'StringListMake', 1st argument 'gt' value is 0 bcftools-1.22/plugins/vcf2table.c:465:13: note: Assignment 'p=(char*)str', assigned value is 0 bcftools-1.22/plugins/vcf2table.c:467:10: note: Null pointer dereference bcftools-1.22/plugins/vcf2table.c:467:25: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] bcftools-1.22/plugins/vcf2table.c:1246:26: note: Assuming allocation function fails bcftools-1.22/plugins/vcf2table.c:1246:26: note: Assignment 'gt=strdup(StringListAt(values,gt_col))', assigned value is 0 bcftools-1.22/plugins/vcf2table.c:1252:48: note: Calling function 'StringListMake', 1st argument 'gt' value is 0 bcftools-1.22/plugins/vcf2table.c:465:13: note: Assignment 'p=(char*)str', assigned value is 0 bcftools-1.22/plugins/vcf2table.c:467:25: note: Null pointer dereference bcftools-1.22/plugins/vcf2table.c:852:11: warning: If memory allocation fails, then there is a possible null pointer dereference: vep_format [nullPointerOutOfMemory] bcftools-1.22/plugins/vcf2table.c:850:32: note: Assuming allocation function fails bcftools-1.22/plugins/vcf2table.c:850:32: note: Assignment 'vep_format=strdup(format)', assigned value is 0 bcftools-1.22/plugins/vcf2table.c:852:11: note: Null pointer dereference bcftools-1.22/plugins/vcf2table.c:852:29: warning: If memory allocation fails, then there is a possible null pointer dereference: vep_format [nullPointerOutOfMemory] bcftools-1.22/plugins/vcf2table.c:850:32: note: Assuming allocation function fails bcftools-1.22/plugins/vcf2table.c:850:32: note: Assignment 'vep_format=strdup(format)', assigned value is 0 bcftools-1.22/plugins/vcf2table.c:852:29: note: Null pointer dereference bcftools-1.22/plugins/vcf2table.c:1248:21: warning: If memory allocation fails, then there is a possible null pointer dereference: gt [nullPointerOutOfMemory] bcftools-1.22/plugins/vcf2table.c:1246:26: note: Assuming allocation function fails bcftools-1.22/plugins/vcf2table.c:1246:26: note: Assignment 'gt=strdup(StringListAt(values,gt_col))', assigned value is 0 bcftools-1.22/plugins/vcf2table.c:1248:21: note: Null pointer dereference bcftools-1.22/plugins/vcf2table.c:1249:15: warning: If memory allocation fails, then there is a possible null pointer dereference: gt [nullPointerOutOfMemory] bcftools-1.22/plugins/vcf2table.c:1246:26: note: Assuming allocation function fails bcftools-1.22/plugins/vcf2table.c:1246:26: note: Assignment 'gt=strdup(StringListAt(values,gt_col))', assigned value is 0 bcftools-1.22/plugins/vcf2table.c:1249:15: note: Null pointer dereference bcftools-1.22/plugins/vcf2table.c:468:22: error: If memory allocation fails: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] bcftools-1.22/plugins/vcf2table.c:1246:26: note: Assuming allocation function fails bcftools-1.22/plugins/vcf2table.c:1246:26: note: Assignment 'gt=strdup(StringListAt(values,gt_col))', assigned value is 0 bcftools-1.22/plugins/vcf2table.c:1252:48: note: Calling function 'StringListMake', 1st argument 'gt' value is 0 bcftools-1.22/plugins/vcf2table.c:465:13: note: Assignment 'p=(char*)str', assigned value is 0 bcftools-1.22/plugins/vcf2table.c:468:22: note: Null pointer subtraction bcftools-1.22/plugins/vcf2table.c:480:6: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] bcftools-1.22/plugins/vcf2table.c:1246:26: note: Assuming allocation function fails bcftools-1.22/plugins/vcf2table.c:1246:26: note: Assignment 'gt=strdup(StringListAt(values,gt_col))', assigned value is 0 bcftools-1.22/plugins/vcf2table.c:1252:48: note: Calling function 'StringListMake', 1st argument 'gt' value is 0 bcftools-1.22/plugins/vcf2table.c:465:13: note: Assignment 'p=(char*)str', assigned value is 0 bcftools-1.22/plugins/vcf2table.c:480:6: note: Null pointer addition bcftools-1.22/plugins/vcf2table.c:740:72: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] bcftools-1.22/plugins/vcf2table.c:743:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] bcftools-1.22/plugins/vcf2table.c:744:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] bcftools-1.22/plugins/vcf2table.c:745:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] bcftools-1.22/plugins/vcf2table.c:748:52: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] bcftools-1.22/plugins/vcf2table.c:749:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] bcftools-1.22/plugins/vcf2table.c:750:70: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] bcftools-1.22/plugins/vcf2table.c:1224:50: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] bcftools-1.22/plugins/vcf2table.c:225:44: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/vcf2table.c:157:15: note: Shadowed variable bcftools-1.22/plugins/vcf2table.c:225:44: note: Shadow argument bcftools-1.22/plugins/vcf2table.c:508:33: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/vcf2table.c:157:15: note: Shadowed variable bcftools-1.22/plugins/vcf2table.c:508:33: note: Shadow argument bcftools-1.22/plugins/vcf2table.c:523:46: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/vcf2table.c:157:15: note: Shadowed variable bcftools-1.22/plugins/vcf2table.c:523:46: note: Shadow argument bcftools-1.22/plugins/vcf2table.c:552:12: style: Local variable 'x' shadows outer variable [shadowVariable] bcftools-1.22/plugins/vcf2table.c:524:19: note: Shadowed variable bcftools-1.22/plugins/vcf2table.c:552:12: note: Shadow local variable bcftools-1.22/plugins/vcf2table.c:563:12: style: Local variable 'x' shadows outer variable [shadowVariable] bcftools-1.22/plugins/vcf2table.c:524:19: note: Shadowed variable bcftools-1.22/plugins/vcf2table.c:563:12: note: Shadow local variable bcftools-1.22/plugins/vcf2table.c:464:9: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/vcf2table.c:499:38: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/vcf2table.c:638:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/vcf2table.c:752:24: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/plugins/vcf2table.c:1066:13: style: Variable 'eq' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/vcf2table.c:1254:17: style: Variable 'allele' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/vrfs.c:220:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vrfs.c:261:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_GZ [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vrfs.c:310:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_DP_PER_SAMPLE [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vrfs.c:698:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vrfs.c:878:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_GZ [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vrfs.c:951:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bcftools-1.22/plugins/vrfs.c:251:20: style: Redundant condition: The condition '!*tmp' is redundant since '*tmp != '/'' is sufficient. [redundantCondition] bcftools-1.22/plugins/vrfs.c:559:15: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] bcftools-1.22/plugins/vrfs.c:429:14: warning: Possible null pointer dereference: batch [nullPointer] bcftools-1.22/plugins/vrfs.c:886:22: note: Assignment 'batch=NULL', assigned value is 0 bcftools-1.22/plugins/vrfs.c:888:16: note: Assuming condition is false bcftools-1.22/plugins/vrfs.c:907:38: note: Calling function 'batch_profile_set_mean_var2', 2nd argument 'batch' value is 0 bcftools-1.22/plugins/vrfs.c:503:40: note: Calling function 'init_var2', 2nd argument 'batch' value is 0 bcftools-1.22/plugins/vrfs.c:429:14: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:432:19: warning: Possible null pointer dereference: batch [nullPointer] bcftools-1.22/plugins/vrfs.c:886:22: note: Assignment 'batch=NULL', assigned value is 0 bcftools-1.22/plugins/vrfs.c:888:16: note: Assuming condition is false bcftools-1.22/plugins/vrfs.c:907:38: note: Calling function 'batch_profile_set_mean_var2', 2nd argument 'batch' value is 0 bcftools-1.22/plugins/vrfs.c:503:40: note: Calling function 'init_var2', 2nd argument 'batch' value is 0 bcftools-1.22/plugins/vrfs.c:432:19: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:441:13: warning: If memory allocation fails, then there is a possible null pointer dereference: ori [nullPointerOutOfMemory] bcftools-1.22/plugins/vrfs.c:438:21: note: Assuming allocation function fails bcftools-1.22/plugins/vrfs.c:438:21: note: Assignment 'ori=malloc(sizeof(*batch->var2)*n)', assigned value is 0 bcftools-1.22/plugins/vrfs.c:441:13: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:452:34: warning: If memory allocation fails, then there is a possible null pointer dereference: ori [nullPointerOutOfMemory] bcftools-1.22/plugins/vrfs.c:451:21: note: Assuming allocation function fails bcftools-1.22/plugins/vrfs.c:451:21: note: Assignment 'ori=malloc(sizeof(*ori)*20)', assigned value is 0 bcftools-1.22/plugins/vrfs.c:452:34: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:467:9: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] bcftools-1.22/plugins/vrfs.c:465:29: note: Assuming allocation function fails bcftools-1.22/plugins/vrfs.c:465:29: note: Assignment 'tmp=malloc(sizeof(*tmp)*nnew)', assigned value is 0 bcftools-1.22/plugins/vrfs.c:467:9: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:468:9: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] bcftools-1.22/plugins/vrfs.c:465:29: note: Assuming allocation function fails bcftools-1.22/plugins/vrfs.c:465:29: note: Assignment 'tmp=malloc(sizeof(*tmp)*nnew)', assigned value is 0 bcftools-1.22/plugins/vrfs.c:468:9: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:499:10: warning: Possible null pointer dereference: batch [nullPointer] bcftools-1.22/plugins/vrfs.c:886:22: note: Assignment 'batch=NULL', assigned value is 0 bcftools-1.22/plugins/vrfs.c:888:16: note: Assuming condition is false bcftools-1.22/plugins/vrfs.c:907:38: note: Calling function 'batch_profile_set_mean_var2', 2nd argument 'batch' value is 0 bcftools-1.22/plugins/vrfs.c:499:10: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:500:5: warning: Possible null pointer dereference: batch [nullPointer] bcftools-1.22/plugins/vrfs.c:886:22: note: Assignment 'batch=NULL', assigned value is 0 bcftools-1.22/plugins/vrfs.c:888:16: note: Assuming condition is false bcftools-1.22/plugins/vrfs.c:907:38: note: Calling function 'batch_profile_set_mean_var2', 2nd argument 'batch' value is 0 bcftools-1.22/plugins/vrfs.c:500:5: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:500:26: warning: Possible null pointer dereference: batch [nullPointer] bcftools-1.22/plugins/vrfs.c:886:22: note: Assignment 'batch=NULL', assigned value is 0 bcftools-1.22/plugins/vrfs.c:888:16: note: Assuming condition is false bcftools-1.22/plugins/vrfs.c:907:38: note: Calling function 'batch_profile_set_mean_var2', 2nd argument 'batch' value is 0 bcftools-1.22/plugins/vrfs.c:500:26: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:504:5: warning: Possible null pointer dereference: batch [nullPointer] bcftools-1.22/plugins/vrfs.c:886:22: note: Assignment 'batch=NULL', assigned value is 0 bcftools-1.22/plugins/vrfs.c:888:16: note: Assuming condition is false bcftools-1.22/plugins/vrfs.c:907:38: note: Calling function 'batch_profile_set_mean_var2', 2nd argument 'batch' value is 0 bcftools-1.22/plugins/vrfs.c:504:5: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:508:33: warning: Possible null pointer dereference: batch [nullPointer] bcftools-1.22/plugins/vrfs.c:886:22: note: Assignment 'batch=NULL', assigned value is 0 bcftools-1.22/plugins/vrfs.c:888:16: note: Assuming condition is false bcftools-1.22/plugins/vrfs.c:907:38: note: Calling function 'batch_profile_set_mean_var2', 2nd argument 'batch' value is 0 bcftools-1.22/plugins/vrfs.c:508:33: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:607:10: warning: Possible null pointer dereference: batch [nullPointer] bcftools-1.22/plugins/vrfs.c:886:22: note: Assignment 'batch=NULL', assigned value is 0 bcftools-1.22/plugins/vrfs.c:888:16: note: Assuming condition is false bcftools-1.22/plugins/vrfs.c:908:22: note: Calling function 'write_batch', 2nd argument 'batch' value is 0 bcftools-1.22/plugins/vrfs.c:607:10: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:727:9: warning: If memory allocation fails, then there is a possible null pointer dereference: bins [nullPointerOutOfMemory] bcftools-1.22/plugins/vrfs.c:723:28: note: Assuming allocation function fails bcftools-1.22/plugins/vrfs.c:723:28: note: Assignment 'bins=calloc(n,sizeof(*bins))', assigned value is 0 bcftools-1.22/plugins/vrfs.c:727:9: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:750:9: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] bcftools-1.22/plugins/vrfs.c:746:27: note: Assuming allocation function fails bcftools-1.22/plugins/vrfs.c:746:27: note: Assignment 'array=calloc(n,sizeof(*array))', assigned value is 0 bcftools-1.22/plugins/vrfs.c:750:9: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:831:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: batch [nullPointerOutOfMemory] bcftools-1.22/plugins/vrfs.c:830:28: note: Assuming allocation function fails bcftools-1.22/plugins/vrfs.c:830:28: note: Assignment 'batch=calloc(1,sizeof(struct batch_t))', assigned value is 0 bcftools-1.22/plugins/vrfs.c:831:5: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:832:11: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: batch [nullPointerOutOfMemory] bcftools-1.22/plugins/vrfs.c:830:28: note: Assuming allocation function fails bcftools-1.22/plugins/vrfs.c:830:28: note: Assignment 'batch=calloc(1,sizeof(struct batch_t))', assigned value is 0 bcftools-1.22/plugins/vrfs.c:832:11: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:833:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: batch [nullPointerOutOfMemory] bcftools-1.22/plugins/vrfs.c:830:28: note: Assuming allocation function fails bcftools-1.22/plugins/vrfs.c:830:28: note: Assignment 'batch=calloc(1,sizeof(struct batch_t))', assigned value is 0 bcftools-1.22/plugins/vrfs.c:833:5: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:864:10: warning: Possible null pointer dereference: batch [nullPointer] bcftools-1.22/plugins/vrfs.c:886:22: note: Assignment 'batch=NULL', assigned value is 0 bcftools-1.22/plugins/vrfs.c:888:16: note: Assuming condition is false bcftools-1.22/plugins/vrfs.c:911:19: note: Calling function 'batch_destroy', 1st argument 'batch' value is 0 bcftools-1.22/plugins/vrfs.c:864:10: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:918:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/vrfs.c:917:36: note: Assuming allocation function fails bcftools-1.22/plugins/vrfs.c:917:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/vrfs.c:918:5: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:918:26: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/vrfs.c:917:36: note: Assuming allocation function fails bcftools-1.22/plugins/vrfs.c:917:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/vrfs.c:918:26: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:919:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/vrfs.c:917:36: note: Assuming allocation function fails bcftools-1.22/plugins/vrfs.c:917:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/vrfs.c:919:5: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:920:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/vrfs.c:917:36: note: Assuming allocation function fails bcftools-1.22/plugins/vrfs.c:917:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/vrfs.c:920:5: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:921:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/vrfs.c:917:36: note: Assuming allocation function fails bcftools-1.22/plugins/vrfs.c:917:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/vrfs.c:921:5: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:922:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/vrfs.c:917:36: note: Assuming allocation function fails bcftools-1.22/plugins/vrfs.c:917:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/vrfs.c:922:5: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:923:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/vrfs.c:917:36: note: Assuming allocation function fails bcftools-1.22/plugins/vrfs.c:917:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/vrfs.c:923:5: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:924:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/vrfs.c:917:36: note: Assuming allocation function fails bcftools-1.22/plugins/vrfs.c:917:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/vrfs.c:924:5: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:925:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/plugins/vrfs.c:917:36: note: Assuming allocation function fails bcftools-1.22/plugins/vrfs.c:917:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/plugins/vrfs.c:925:5: note: Null pointer dereference bcftools-1.22/plugins/vrfs.c:160:13: style: Variable 'args' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/vrfs.c:336:10: style: Variable 'n_plp' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/vrfs.c:359:15: style: Variable 'ref' can be declared as pointer to const [constVariablePointer] bcftools-1.22/plugins/vrfs.c:544:35: style: Parameter 'batch' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/vrfs.c:569:57: style: Parameter 'batch' can be declared as pointer to const [constParameterPointer] bcftools-1.22/plugins/vrfs.c:926:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/polysomy.c:66:7: error: There is an unknown macro here somewhere. Configuration is required. If open_file is a macro then please configure it. [unknownMacro] bcftools-1.22/prob1.c:122:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/prob1.c:519:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/prob1.c:66:29: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:112:23: note: Calling function 'bcf_p1_init_prior', 1st argument 'ma' value is 0 bcftools-1.22/prob1.c:66:29: note: Null pointer dereference bcftools-1.22/prob1.c:66:36: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:112:23: note: Calling function 'bcf_p1_init_prior', 1st argument 'ma' value is 0 bcftools-1.22/prob1.c:66:36: note: Null pointer dereference bcftools-1.22/prob1.c:84:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:84:5: note: Null pointer dereference bcftools-1.22/prob1.c:85:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:85:5: note: Null pointer dereference bcftools-1.22/prob1.c:86:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:86:5: note: Null pointer dereference bcftools-1.22/prob1.c:88:9: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:88:9: note: Null pointer dereference bcftools-1.22/prob1.c:89:16: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:89:16: note: Null pointer dereference bcftools-1.22/prob1.c:90:21: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:90:21: note: Null pointer dereference bcftools-1.22/prob1.c:90:49: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:90:49: note: Null pointer dereference bcftools-1.22/prob1.c:91:13: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:91:13: note: Null pointer dereference bcftools-1.22/prob1.c:96:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:96:5: note: Null pointer dereference bcftools-1.22/prob1.c:97:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:97:5: note: Null pointer dereference bcftools-1.22/prob1.c:97:36: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:97:36: note: Null pointer dereference bcftools-1.22/prob1.c:98:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:98:5: note: Null pointer dereference bcftools-1.22/prob1.c:98:32: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:98:32: note: Null pointer dereference bcftools-1.22/prob1.c:99:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:99:5: note: Null pointer dereference bcftools-1.22/prob1.c:99:38: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:99:38: note: Null pointer dereference bcftools-1.22/prob1.c:100:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:100:5: note: Null pointer dereference bcftools-1.22/prob1.c:100:33: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:100:33: note: Null pointer dereference bcftools-1.22/prob1.c:101:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:101:5: note: Null pointer dereference bcftools-1.22/prob1.c:101:33: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:101:33: note: Null pointer dereference bcftools-1.22/prob1.c:102:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:102:5: note: Null pointer dereference bcftools-1.22/prob1.c:102:30: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:102:30: note: Null pointer dereference bcftools-1.22/prob1.c:103:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:103:5: note: Null pointer dereference bcftools-1.22/prob1.c:103:34: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:103:34: note: Null pointer dereference bcftools-1.22/prob1.c:104:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:104:5: note: Null pointer dereference bcftools-1.22/prob1.c:104:31: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:104:31: note: Null pointer dereference bcftools-1.22/prob1.c:105:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:105:5: note: Null pointer dereference bcftools-1.22/prob1.c:105:31: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:105:31: note: Null pointer dereference bcftools-1.22/prob1.c:106:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:106:5: note: Null pointer dereference bcftools-1.22/prob1.c:106:32: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:106:32: note: Null pointer dereference bcftools-1.22/prob1.c:107:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:107:5: note: Null pointer dereference bcftools-1.22/prob1.c:107:33: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:107:33: note: Null pointer dereference bcftools-1.22/prob1.c:108:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:108:5: note: Null pointer dereference bcftools-1.22/prob1.c:108:31: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:108:31: note: Null pointer dereference bcftools-1.22/prob1.c:110:9: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:110:9: note: Null pointer dereference bcftools-1.22/prob1.c:111:22: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:111:22: note: Null pointer dereference bcftools-1.22/prob1.c:111:34: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [nullPointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:111:34: note: Null pointer dereference bcftools-1.22/prob1.c:156:12: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] bcftools-1.22/prob1.c:155:27: note: Assuming allocation function fails bcftools-1.22/prob1.c:155:13: note: Assignment 'p=(long*)malloc(b->n_allele*sizeof(long))', assigned value is 0 bcftools-1.22/prob1.c:156:12: note: Null pointer dereference bcftools-1.22/prob1.c:79:47: style: Parameter 'ploidy' can be declared as pointer to const [constParameterPointer] bcftools-1.22/prob1.c:116:31: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] bcftools-1.22/prob1.c:184:25: style: Variable 'pdg' can be declared as pointer to const [constVariablePointer] bcftools-1.22/prob1.c:214:26: style: Variable 'pdg' can be declared as pointer to const [constVariablePointer] bcftools-1.22/prob1.c:427:13: style: Variable 'phi' can be declared as pointer to const [constVariablePointer] bcftools-1.22/prob1.c:453:24: style: Parameter 'call' can be declared as pointer to const [constParameterPointer] bcftools-1.22/prob1.c:219:9: style: Variable 'pdg' is assigned a value that is never used. [unreadVariable] bcftools-1.22/prob1.c:387:38: style: Variable 'L[0]' is assigned a value that is never used. [unreadVariable] bcftools-1.22/prob1.c:387:45: style: Variable 'L[1]' is assigned a value that is never used. [unreadVariable] bcftools-1.22/prob1.c:412:48: style: Variable 'L[0]' is assigned a value that is never used. [unreadVariable] bcftools-1.22/prob1.c:412:55: style: Variable 'L[1]' is assigned a value that is never used. [unreadVariable] bcftools-1.22/cigar_state.h:82:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAM_CIGAR_MASK [valueFlowBailoutIncompleteVar] bcftools-1.22/cigar_state.h:146:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAM_CIGAR_MASK [valueFlowBailoutIncompleteVar] bcftools-1.22/read_consensus.c:167:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seq_nt16_int [valueFlowBailoutIncompleteVar] bcftools-1.22/read_consensus.c:250:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAM_CIGAR_MASK [valueFlowBailoutIncompleteVar] bcftools-1.22/read_consensus.c:520:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seq_nt16_int [valueFlowBailoutIncompleteVar] bcftools-1.22/read_consensus.c:672:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seq_nt16_int [valueFlowBailoutIncompleteVar] bcftools-1.22/read_consensus.c:698:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seq_nt16_int [valueFlowBailoutIncompleteVar] bcftools-1.22/read_consensus.c:121:17: warning: If memory allocation fails, then there is a possible null pointer dereference: rcns [nullPointerOutOfMemory] bcftools-1.22/read_consensus.c:218:44: note: Assuming allocation function fails bcftools-1.22/read_consensus.c:218:24: note: Assignment 'rcns=(struct read_cns_t*)calloc(1,sizeof(struct read_cns_t))', assigned value is 0 bcftools-1.22/read_consensus.c:223:22: note: Calling function 'init_arrays', 1st argument 'rcns' value is 0 bcftools-1.22/read_consensus.c:121:17: note: Null pointer dereference bcftools-1.22/read_consensus.c:121:29: warning: If memory allocation fails, then there is a possible null pointer dereference: rcns [nullPointerOutOfMemory] bcftools-1.22/read_consensus.c:218:44: note: Assuming allocation function fails bcftools-1.22/read_consensus.c:218:24: note: Assignment 'rcns=(struct read_cns_t*)calloc(1,sizeof(struct read_cns_t))', assigned value is 0 bcftools-1.22/read_consensus.c:223:22: note: Calling function 'init_arrays', 1st argument 'rcns' value is 0 bcftools-1.22/read_consensus.c:121:29: note: Null pointer dereference bcftools-1.22/read_consensus.c:122:14: warning: If memory allocation fails, then there is a possible null pointer dereference: rcns [nullPointerOutOfMemory] bcftools-1.22/read_consensus.c:218:44: note: Assuming allocation function fails bcftools-1.22/read_consensus.c:218:24: note: Assignment 'rcns=(struct read_cns_t*)calloc(1,sizeof(struct read_cns_t))', assigned value is 0 bcftools-1.22/read_consensus.c:223:22: note: Calling function 'init_arrays', 1st argument 'rcns' value is 0 bcftools-1.22/read_consensus.c:122:14: note: Null pointer dereference bcftools-1.22/read_consensus.c:141:12: warning: If memory allocation fails, then there is a possible null pointer dereference: rcns [nullPointerOutOfMemory] bcftools-1.22/read_consensus.c:218:44: note: Assuming allocation function fails bcftools-1.22/read_consensus.c:218:24: note: Assignment 'rcns=(struct read_cns_t*)calloc(1,sizeof(struct read_cns_t))', assigned value is 0 bcftools-1.22/read_consensus.c:223:22: note: Calling function 'init_arrays', 1st argument 'rcns' value is 0 bcftools-1.22/read_consensus.c:141:12: note: Null pointer dereference bcftools-1.22/read_consensus.c:142:12: warning: If memory allocation fails, then there is a possible null pointer dereference: rcns [nullPointerOutOfMemory] bcftools-1.22/read_consensus.c:218:44: note: Assuming allocation function fails bcftools-1.22/read_consensus.c:218:24: note: Assignment 'rcns=(struct read_cns_t*)calloc(1,sizeof(struct read_cns_t))', assigned value is 0 bcftools-1.22/read_consensus.c:223:22: note: Calling function 'init_arrays', 1st argument 'rcns' value is 0 bcftools-1.22/read_consensus.c:142:12: note: Null pointer dereference bcftools-1.22/read_consensus.c:148:12: warning: If memory allocation fails, then there is a possible null pointer dereference: rcns [nullPointerOutOfMemory] bcftools-1.22/read_consensus.c:218:44: note: Assuming allocation function fails bcftools-1.22/read_consensus.c:218:24: note: Assignment 'rcns=(struct read_cns_t*)calloc(1,sizeof(struct read_cns_t))', assigned value is 0 bcftools-1.22/read_consensus.c:223:22: note: Calling function 'init_arrays', 1st argument 'rcns' value is 0 bcftools-1.22/read_consensus.c:148:12: note: Null pointer dereference bcftools-1.22/read_consensus.c:219:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rcns [nullPointerOutOfMemory] bcftools-1.22/read_consensus.c:218:44: note: Assuming allocation function fails bcftools-1.22/read_consensus.c:218:24: note: Assignment 'rcns=(struct read_cns_t*)calloc(1,sizeof(struct read_cns_t))', assigned value is 0 bcftools-1.22/read_consensus.c:219:5: note: Null pointer dereference bcftools-1.22/read_consensus.c:220:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rcns [nullPointerOutOfMemory] bcftools-1.22/read_consensus.c:218:44: note: Assuming allocation function fails bcftools-1.22/read_consensus.c:218:24: note: Assignment 'rcns=(struct read_cns_t*)calloc(1,sizeof(struct read_cns_t))', assigned value is 0 bcftools-1.22/read_consensus.c:220:5: note: Null pointer dereference bcftools-1.22/read_consensus.c:221:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rcns [nullPointerOutOfMemory] bcftools-1.22/read_consensus.c:218:44: note: Assuming allocation function fails bcftools-1.22/read_consensus.c:218:24: note: Assignment 'rcns=(struct read_cns_t*)calloc(1,sizeof(struct read_cns_t))', assigned value is 0 bcftools-1.22/read_consensus.c:221:5: note: Null pointer dereference bcftools-1.22/read_consensus.c:222:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rcns [nullPointerOutOfMemory] bcftools-1.22/read_consensus.c:218:44: note: Assuming allocation function fails bcftools-1.22/read_consensus.c:218:24: note: Assignment 'rcns=(struct read_cns_t*)calloc(1,sizeof(struct read_cns_t))', assigned value is 0 bcftools-1.22/read_consensus.c:222:5: note: Null pointer dereference bcftools-1.22/read_consensus.c:70:55: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] bcftools-1.22/read_consensus.c:70:75: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] bcftools-1.22/read_consensus.c:245:19: style: Variable 'cigar' can be declared as pointer to const [constVariablePointer] bcftools-1.22/read_consensus.c:383:22: style: Variable 'a' can be declared as pointer to const [constVariablePointer] bcftools-1.22/read_consensus.c:384:22: style: Variable 'b' can be declared as pointer to const [constVariablePointer] bcftools-1.22/read_consensus.c:525:29: style: Variable 'ifrq' can be declared as pointer to const [constVariablePointer] bcftools-1.22/read_consensus.c:537:29: style: Variable 'dfrq' can be declared as pointer to const [constVariablePointer] bcftools-1.22/read_consensus.c:670:11: style: Variable 'seq' can be declared as pointer to const [constVariablePointer] bcftools-1.22/read_consensus.c:758:19: style: Variable 'seq' can be declared as pointer to const [constVariablePointer] bcftools-1.22/regidx.c:283:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KS_SEP_LINE [valueFlowBailoutIncompleteVar] bcftools-1.22/regidx.c:499:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/regidx.c:531:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/regidx.c:577:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/regidx.c:450:68: style: Condition 'list->reg[ireg].beg<=end' is always true [knownConditionTrueFalse] bcftools-1.22/regidx.c:449:38: note: Assuming that condition 'list->reg[ireg].beg>end' is not redundant bcftools-1.22/regidx.c:450:68: note: Condition 'list->reg[ireg].beg<=end' is always true bcftools-1.22/regidx.c:636:63: style: Condition 'list->reg[i].beg<=itr->end' is always true [knownConditionTrueFalse] bcftools-1.22/regidx.c:635:31: note: Assuming that condition 'list->reg[i].beg>itr->end' is not redundant bcftools-1.22/regidx.c:636:63: note: Condition 'list->reg[i].beg<=itr->end' is always true bcftools-1.22/regidx.c:269:5: warning: If memory allocation fails, then there is a possible null pointer dereference: idx [nullPointerOutOfMemory] bcftools-1.22/regidx.c:268:39: note: Assuming allocation function fails bcftools-1.22/regidx.c:268:21: note: Assignment 'idx=(struct regidx_t*)calloc(1,sizeof(struct regidx_t))', assigned value is 0 bcftools-1.22/regidx.c:269:5: note: Null pointer dereference bcftools-1.22/regidx.c:270:5: warning: If memory allocation fails, then there is a possible null pointer dereference: idx [nullPointerOutOfMemory] bcftools-1.22/regidx.c:268:39: note: Assuming allocation function fails bcftools-1.22/regidx.c:268:21: note: Assignment 'idx=(struct regidx_t*)calloc(1,sizeof(struct regidx_t))', assigned value is 0 bcftools-1.22/regidx.c:270:5: note: Null pointer dereference bcftools-1.22/regidx.c:271:5: warning: If memory allocation fails, then there is a possible null pointer dereference: idx [nullPointerOutOfMemory] bcftools-1.22/regidx.c:268:39: note: Assuming allocation function fails bcftools-1.22/regidx.c:268:21: note: Assignment 'idx=(struct regidx_t*)calloc(1,sizeof(struct regidx_t))', assigned value is 0 bcftools-1.22/regidx.c:271:5: note: Null pointer dereference bcftools-1.22/regidx.c:272:5: warning: If memory allocation fails, then there is a possible null pointer dereference: idx [nullPointerOutOfMemory] bcftools-1.22/regidx.c:268:39: note: Assuming allocation function fails bcftools-1.22/regidx.c:268:21: note: Assignment 'idx=(struct regidx_t*)calloc(1,sizeof(struct regidx_t))', assigned value is 0 bcftools-1.22/regidx.c:272:5: note: Null pointer dereference bcftools-1.22/regidx.c:273:5: warning: If memory allocation fails, then there is a possible null pointer dereference: idx [nullPointerOutOfMemory] bcftools-1.22/regidx.c:268:39: note: Assuming allocation function fails bcftools-1.22/regidx.c:268:21: note: Assignment 'idx=(struct regidx_t*)calloc(1,sizeof(struct regidx_t))', assigned value is 0 bcftools-1.22/regidx.c:273:5: note: Null pointer dereference bcftools-1.22/regidx.c:336:38: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] bcftools-1.22/regidx.c:335:39: note: Assuming allocation function fails bcftools-1.22/regidx.c:335:23: note: Assignment 'ptr=(struct reg_t**)malloc(sizeof(struct reg_t*)*list->nreg)', assigned value is 0 bcftools-1.22/regidx.c:336:38: note: Null pointer dereference bcftools-1.22/regidx.c:337:15: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] bcftools-1.22/regidx.c:335:39: note: Assuming allocation function fails bcftools-1.22/regidx.c:335:23: note: Assignment 'ptr=(struct reg_t**)malloc(sizeof(struct reg_t*)*list->nreg)', assigned value is 0 bcftools-1.22/regidx.c:337:15: note: Null pointer dereference bcftools-1.22/regidx.c:354:13: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_reg [nullPointerOutOfMemory] bcftools-1.22/regidx.c:350:41: note: Assuming allocation function fails bcftools-1.22/regidx.c:350:26: note: Assignment 'tmp_reg=(struct reg_t*)malloc(sizeof(struct reg_t)*list->nreg)', assigned value is 0 bcftools-1.22/regidx.c:354:13: note: Null pointer dereference bcftools-1.22/regidx.c:597:5: warning: If memory allocation fails, then there is a possible null pointer dereference: regitr [nullPointerOutOfMemory] bcftools-1.22/regidx.c:596:42: note: Assuming allocation function fails bcftools-1.22/regidx.c:596:24: note: Assignment 'regitr=(struct regitr_t*)calloc(1,sizeof(struct regitr_t))', assigned value is 0 bcftools-1.22/regidx.c:597:5: note: Null pointer dereference bcftools-1.22/regidx.c:598:29: warning: If memory allocation fails, then there is a possible null pointer dereference: regitr [nullPointerOutOfMemory] bcftools-1.22/regidx.c:596:42: note: Assuming allocation function fails bcftools-1.22/regidx.c:596:24: note: Assignment 'regitr=(struct regitr_t*)calloc(1,sizeof(struct regitr_t))', assigned value is 0 bcftools-1.22/regidx.c:598:29: note: Null pointer dereference bcftools-1.22/regidx.c:599:5: warning: If memory allocation fails, then there is a possible null pointer dereference: itr [nullPointerOutOfMemory] bcftools-1.22/regidx.c:597:36: note: Assuming allocation function fails bcftools-1.22/regidx.c:597:20: note: Assignment 'regitr->itr=(struct _itr_t*)calloc(1,sizeof(struct _itr_t))', assigned value is 0 bcftools-1.22/regidx.c:598:17: note: itr is assigned '(struct _itr_t*)regitr->itr' here. bcftools-1.22/regidx.c:599:5: note: Null pointer dereference bcftools-1.22/regidx.c:600:5: warning: If memory allocation fails, then there is a possible null pointer dereference: itr [nullPointerOutOfMemory] bcftools-1.22/regidx.c:597:36: note: Assuming allocation function fails bcftools-1.22/regidx.c:597:20: note: Assignment 'regitr->itr=(struct _itr_t*)calloc(1,sizeof(struct _itr_t))', assigned value is 0 bcftools-1.22/regidx.c:598:17: note: itr is assigned '(struct _itr_t*)regitr->itr' here. bcftools-1.22/regidx.c:600:5: note: Null pointer dereference bcftools-1.22/regidx.c:343:35: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] bcftools-1.22/regidx.c:339:31: note: Assuming allocation function fails bcftools-1.22/regidx.c:339:31: note: Assignment 'tmp_dat=malloc(regidx->payload_size*list->nreg)', assigned value is 0 bcftools-1.22/regidx.c:343:35: note: Null pointer addition bcftools-1.22/regidx.c:198:42: style:inconclusive: Function 'regidx_init_string' argument 1 names different: declaration 'string' definition 'str'. [funcArgNamesDifferent] bcftools-1.22/regidx.h:136:42: note: Function 'regidx_init_string' argument 1 names different: declaration 'string' definition 'str'. bcftools-1.22/regidx.c:198:42: note: Function 'regidx_init_string' argument 1 names different: declaration 'string' definition 'str'. bcftools-1.22/regidx.c:198:62: style:inconclusive: Function 'regidx_init_string' argument 2 names different: declaration 'parsef' definition 'parser'. [funcArgNamesDifferent] bcftools-1.22/regidx.h:136:65: note: Function 'regidx_init_string' argument 2 names different: declaration 'parsef' definition 'parser'. bcftools-1.22/regidx.c:198:62: note: Function 'regidx_init_string' argument 2 names different: declaration 'parsef' definition 'parser'. bcftools-1.22/regidx.c:198:84: style:inconclusive: Function 'regidx_init_string' argument 3 names different: declaration '' definition 'free_f'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:198:99: style:inconclusive: Function 'regidx_init_string' argument 4 names different: declaration '' definition 'payload_size'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:198:119: style:inconclusive: Function 'regidx_init_string' argument 5 names different: declaration '' definition 'usr_dat'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:245:57: style:inconclusive: Function 'regidx_init' argument 2 names different: declaration 'parsef' definition 'parser'. [funcArgNamesDifferent] bcftools-1.22/regidx.h:135:57: note: Function 'regidx_init' argument 2 names different: declaration 'parsef' definition 'parser'. bcftools-1.22/regidx.c:245:57: note: Function 'regidx_init' argument 2 names different: declaration 'parsef' definition 'parser'. bcftools-1.22/regidx.c:245:79: style:inconclusive: Function 'regidx_init' argument 3 names different: declaration '' definition 'free_f'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:245:94: style:inconclusive: Function 'regidx_init' argument 4 names different: declaration '' definition 'payload_size'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:245:114: style:inconclusive: Function 'regidx_init' argument 5 names different: declaration '' definition 'usr_dat'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:412:30: style:inconclusive: Function 'regidx_overlap' argument 1 names different: declaration 'idx' definition 'regidx'. [funcArgNamesDifferent] bcftools-1.22/regidx.h:151:30: note: Function 'regidx_overlap' argument 1 names different: declaration 'idx' definition 'regidx'. bcftools-1.22/regidx.c:412:30: note: Function 'regidx_overlap' argument 1 names different: declaration 'idx' definition 'regidx'. bcftools-1.22/regidx.c:412:93: style:inconclusive: Function 'regidx_overlap' argument 5 names different: declaration 'itr' definition 'regitr'. [funcArgNamesDifferent] bcftools-1.22/regidx.h:151:90: note: Function 'regidx_overlap' argument 5 names different: declaration 'itr' definition 'regitr'. bcftools-1.22/regidx.c:412:93: note: Function 'regidx_overlap' argument 5 names different: declaration 'itr' definition 'regitr'. bcftools-1.22/regidx.c:476:34: style:inconclusive: Function 'regidx_parse_bed' argument 1 names different: declaration '' definition 'line'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:476:47: style:inconclusive: Function 'regidx_parse_bed' argument 2 names different: declaration '' definition 'chr_beg'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:476:63: style:inconclusive: Function 'regidx_parse_bed' argument 3 names different: declaration '' definition 'chr_end'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:476:82: style:inconclusive: Function 'regidx_parse_bed' argument 4 names different: declaration '' definition 'beg'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:476:97: style:inconclusive: Function 'regidx_parse_bed' argument 5 names different: declaration '' definition 'end'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:476:108: style:inconclusive: Function 'regidx_parse_bed' argument 6 names different: declaration '' definition 'payload'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:476:123: style:inconclusive: Function 'regidx_parse_bed' argument 7 names different: declaration '' definition 'usr'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:508:34: style:inconclusive: Function 'regidx_parse_tab' argument 1 names different: declaration '' definition 'line'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:508:47: style:inconclusive: Function 'regidx_parse_tab' argument 2 names different: declaration '' definition 'chr_beg'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:508:63: style:inconclusive: Function 'regidx_parse_tab' argument 3 names different: declaration '' definition 'chr_end'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:508:82: style:inconclusive: Function 'regidx_parse_tab' argument 4 names different: declaration '' definition 'beg'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:508:97: style:inconclusive: Function 'regidx_parse_tab' argument 5 names different: declaration '' definition 'end'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:508:108: style:inconclusive: Function 'regidx_parse_tab' argument 6 names different: declaration '' definition 'payload'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:508:123: style:inconclusive: Function 'regidx_parse_tab' argument 7 names different: declaration '' definition 'usr'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:548:34: style:inconclusive: Function 'regidx_parse_vcf' argument 1 names different: declaration '' definition 'line'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:548:47: style:inconclusive: Function 'regidx_parse_vcf' argument 2 names different: declaration '' definition 'chr_beg'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:548:63: style:inconclusive: Function 'regidx_parse_vcf' argument 3 names different: declaration '' definition 'chr_end'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:548:82: style:inconclusive: Function 'regidx_parse_vcf' argument 4 names different: declaration '' definition 'beg'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:548:97: style:inconclusive: Function 'regidx_parse_vcf' argument 5 names different: declaration '' definition 'end'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:548:108: style:inconclusive: Function 'regidx_parse_vcf' argument 6 names different: declaration '' definition 'payload'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:548:123: style:inconclusive: Function 'regidx_parse_vcf' argument 7 names different: declaration '' definition 'usr'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:555:34: style:inconclusive: Function 'regidx_parse_reg' argument 1 names different: declaration '' definition 'line'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:555:47: style:inconclusive: Function 'regidx_parse_reg' argument 2 names different: declaration '' definition 'chr_beg'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:555:63: style:inconclusive: Function 'regidx_parse_reg' argument 3 names different: declaration '' definition 'chr_end'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:555:82: style:inconclusive: Function 'regidx_parse_reg' argument 4 names different: declaration '' definition 'beg'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:555:97: style:inconclusive: Function 'regidx_parse_reg' argument 5 names different: declaration '' definition 'end'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:555:108: style:inconclusive: Function 'regidx_parse_reg' argument 6 names different: declaration '' definition 'payload'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:555:123: style:inconclusive: Function 'regidx_parse_reg' argument 7 names different: declaration '' definition 'usr'. [funcArgNamesDifferentUnnamed] bcftools-1.22/regidx.c:594:33: style:inconclusive: Function 'regitr_init' argument 1 names different: declaration 'idx' definition 'regidx'. [funcArgNamesDifferent] bcftools-1.22/regidx.h:184:33: note: Function 'regitr_init' argument 1 names different: declaration 'idx' definition 'regidx'. bcftools-1.22/regidx.c:594:33: note: Function 'regitr_init' argument 1 names different: declaration 'idx' definition 'regidx'. bcftools-1.22/regidx.c:604:29: style:inconclusive: Function 'regitr_reset' argument 1 names different: declaration 'idx' definition 'regidx'. [funcArgNamesDifferent] bcftools-1.22/regidx.h:186:29: note: Function 'regitr_reset' argument 1 names different: declaration 'idx' definition 'regidx'. bcftools-1.22/regidx.c:604:29: note: Function 'regitr_reset' argument 1 names different: declaration 'idx' definition 'regidx'. bcftools-1.22/regidx.c:604:47: style:inconclusive: Function 'regitr_reset' argument 2 names different: declaration 'itr' definition 'regitr'. [funcArgNamesDifferent] bcftools-1.22/regidx.h:186:44: note: Function 'regitr_reset' argument 2 names different: declaration 'itr' definition 'regitr'. bcftools-1.22/regidx.c:604:47: note: Function 'regitr_reset' argument 2 names different: declaration 'itr' definition 'regitr'. bcftools-1.22/regidx.c:611:31: style:inconclusive: Function 'regitr_destroy' argument 1 names different: declaration 'itr' definition 'regitr'. [funcArgNamesDifferent] bcftools-1.22/regidx.h:185:31: note: Function 'regitr_destroy' argument 1 names different: declaration 'itr' definition 'regitr'. bcftools-1.22/regidx.c:611:31: note: Function 'regitr_destroy' argument 1 names different: declaration 'itr' definition 'regitr'. bcftools-1.22/regidx.c:617:30: style:inconclusive: Function 'regitr_overlap' argument 1 names different: declaration 'itr' definition 'regitr'. [funcArgNamesDifferent] bcftools-1.22/regidx.h:192:30: note: Function 'regitr_overlap' argument 1 names different: declaration 'itr' definition 'regitr'. bcftools-1.22/regidx.c:617:30: note: Function 'regitr_overlap' argument 1 names different: declaration 'itr' definition 'regitr'. bcftools-1.22/regidx.c:651:27: style:inconclusive: Function 'regitr_loop' argument 1 names different: declaration 'itr' definition 'regitr'. [funcArgNamesDifferent] bcftools-1.22/regidx.h:198:27: note: Function 'regitr_loop' argument 1 names different: declaration 'itr' definition 'regitr'. bcftools-1.22/regidx.c:651:27: note: Function 'regitr_loop' argument 1 names different: declaration 'itr' definition 'regitr'. bcftools-1.22/regidx.c:101:35: style: Parameter 'idx' can be declared as pointer to const [constParameterPointer] bcftools-1.22/regidx.c:129:35: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] bcftools-1.22/regidx.c:129:45: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] bcftools-1.22/regidx.c:146:60: style: Parameter 'chr_end' can be declared as pointer to const [constParameterPointer] bcftools-1.22/regidx.c:146:103: style: Parameter 'payload' can be declared as pointer to const [constParameterPointer] bcftools-1.22/regidx.c:693:13: style: Variable 'src_itr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/regidx.c:44:14: style: struct member 'pos_t::pos' is never used. [unusedStructMember] bcftools-1.22/regidx.c:44:19: style: struct member 'pos_t::ireg' is never used. [unusedStructMember] bcftools-1.22/khash_str2str.h:30:1: error: There is an unknown macro here somewhere. Configuration is required. If KHASH_MAP_INIT_STR is a macro then please configure it. [unknownMacro] bcftools-1.22/smpl_ilist.c:86:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_SAMPLE [valueFlowBailoutIncompleteVar] bcftools-1.22/smpl_ilist.c:163:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_SAMPLE [valueFlowBailoutIncompleteVar] bcftools-1.22/smpl_ilist.c:159:5: warning: If memory allocation fails, then there is a possible null pointer dereference: smpl [nullPointerOutOfMemory] bcftools-1.22/smpl_ilist.c:156:48: note: Assuming allocation function fails bcftools-1.22/smpl_ilist.c:156:26: note: Assignment 'smpl=(struct smpl_ilist_t*)calloc(1,sizeof(struct smpl_ilist_t))', assigned value is 0 bcftools-1.22/smpl_ilist.c:159:5: note: Null pointer dereference bcftools-1.22/smpl_ilist.c:160:5: warning: If memory allocation fails, then there is a possible null pointer dereference: smpl [nullPointerOutOfMemory] bcftools-1.22/smpl_ilist.c:156:48: note: Assuming allocation function fails bcftools-1.22/smpl_ilist.c:156:26: note: Assignment 'smpl=(struct smpl_ilist_t*)calloc(1,sizeof(struct smpl_ilist_t))', assigned value is 0 bcftools-1.22/smpl_ilist.c:160:5: note: Null pointer dereference bcftools-1.22/smpl_ilist.c:160:43: warning: If memory allocation fails, then there is a possible null pointer dereference: smpl [nullPointerOutOfMemory] bcftools-1.22/smpl_ilist.c:156:48: note: Assuming allocation function fails bcftools-1.22/smpl_ilist.c:156:26: note: Assignment 'smpl=(struct smpl_ilist_t*)calloc(1,sizeof(struct smpl_ilist_t))', assigned value is 0 bcftools-1.22/smpl_ilist.c:160:43: note: Null pointer dereference bcftools-1.22/smpl_ilist.c:161:17: warning: If memory allocation fails, then there is a possible null pointer dereference: smpl [nullPointerOutOfMemory] bcftools-1.22/smpl_ilist.c:156:48: note: Assuming allocation function fails bcftools-1.22/smpl_ilist.c:156:26: note: Assignment 'smpl=(struct smpl_ilist_t*)calloc(1,sizeof(struct smpl_ilist_t))', assigned value is 0 bcftools-1.22/smpl_ilist.c:161:17: note: Null pointer dereference bcftools-1.22/smpl_ilist.c:164:9: warning: If memory allocation fails, then there is a possible null pointer dereference: smpl [nullPointerOutOfMemory] bcftools-1.22/smpl_ilist.c:156:48: note: Assuming allocation function fails bcftools-1.22/smpl_ilist.c:156:26: note: Assignment 'smpl=(struct smpl_ilist_t*)calloc(1,sizeof(struct smpl_ilist_t))', assigned value is 0 bcftools-1.22/smpl_ilist.c:164:9: note: Null pointer dereference bcftools-1.22/smpl_ilist.c:165:35: warning: If memory allocation fails, then there is a possible null pointer dereference: smpl [nullPointerOutOfMemory] bcftools-1.22/smpl_ilist.c:156:48: note: Assuming allocation function fails bcftools-1.22/smpl_ilist.c:156:26: note: Assignment 'smpl=(struct smpl_ilist_t*)calloc(1,sizeof(struct smpl_ilist_t))', assigned value is 0 bcftools-1.22/smpl_ilist.c:165:35: note: Null pointer dereference bcftools-1.22/str_finder.c:49:6: warning: Possible null pointer dereference: tmp [nullPointer] bcftools-1.22/str_finder.c:48:8: note: Assignment 'tmp=(*list)?(*list)->prev:NULL', assigned value is 0 bcftools-1.22/str_finder.c:49:6: note: Null pointer dereference bcftools-1.22/str_finder.c:113:13: warning:inconclusive: Possible null pointer dereference: tmp [nullPointer] bcftools-1.22/str_finder.c:111:8: note: Assignment 'tmp=(*list)?(*list)->prev:NULL', assigned value is 0 bcftools-1.22/str_finder.c:113:13: note: Null pointer dereference bcftools-1.22/str_finder.c:114:10: warning:inconclusive: Possible null pointer dereference: tmp [nullPointer] bcftools-1.22/str_finder.c:111:8: note: Assignment 'tmp=(*list)?(*list)->prev:NULL', assigned value is 0 bcftools-1.22/str_finder.c:114:10: note: Null pointer dereference bcftools-1.22/str_finder.c:333:11: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] bcftools-1.22/str_finder.c:322:17: note: Assuming allocation function fails bcftools-1.22/str_finder.c:322:17: note: Assignment 'str=calloc(1,len)', assigned value is 0 bcftools-1.22/str_finder.c:333:11: note: Null pointer dereference bcftools-1.22/str_finder.c:43:11: style: Variable 'cp1' can be declared as pointer to const [constVariablePointer] bcftools-1.22/str_finder.c:43:23: style: Variable 'cp_end' can be declared as pointer to const [constVariablePointer] bcftools-1.22/str_finder.c:73:3: style: Variable 'w' is assigned a value that is never used. [unreadVariable] bcftools-1.22/str_finder.c:74:3: style: Variable 'w' is assigned a value that is never used. [unreadVariable] bcftools-1.22/tabix.c:37:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tbx_conf_gff [valueFlowBailoutIncompleteVar] bcftools-1.22/tabix.c:98:27: warning: If memory allocation fails, then there is a possible null pointer dereference: fn [nullPointerOutOfMemory] bcftools-1.22/tabix.c:97:31: note: Assuming allocation function fails bcftools-1.22/tabix.c:97:18: note: Assignment 'fn=(char*)malloc(strlen(argv[optind])+5)', assigned value is 0 bcftools-1.22/tabix.c:98:27: note: Null pointer dereference bcftools-1.22/tabix.c:99:29: warning: If memory allocation fails, then there is a possible null pointer dereference: fn [nullPointerOutOfMemory] bcftools-1.22/tabix.c:97:31: note: Assuming allocation function fails bcftools-1.22/tabix.c:97:18: note: Assignment 'fn=(char*)malloc(strlen(argv[optind])+5)', assigned value is 0 bcftools-1.22/tabix.c:99:29: note: Null pointer dereference bcftools-1.22/tabix.c:56:13: style: Statements following 'return' will never be executed. [unreachableCode] bcftools-1.22/test/test-rbuf.c:34:54: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: dat [nullPointerOutOfMemory] bcftools-1.22/test/test-rbuf.c:40:34: note: Assuming allocation function fails bcftools-1.22/test/test-rbuf.c:40:22: note: Assignment 'dat=(int*)calloc(10,sizeof(int))', assigned value is 0 bcftools-1.22/test/test-rbuf.c:51:24: note: Calling function 'debug_print', 2nd argument 'dat' value is 0 bcftools-1.22/test/test-rbuf.c:34:54: note: Null pointer dereference bcftools-1.22/test/test-rbuf.c:48:9: warning: If memory allocation fails, then there is a possible null pointer dereference: dat [nullPointerOutOfMemory] bcftools-1.22/test/test-rbuf.c:40:34: note: Assuming allocation function fails bcftools-1.22/test/test-rbuf.c:40:22: note: Assignment 'dat=(int*)calloc(10,sizeof(int))', assigned value is 0 bcftools-1.22/test/test-rbuf.c:48:9: note: Null pointer dereference bcftools-1.22/test/test-rbuf.c:54:27: warning: If memory allocation fails, then there is a possible null pointer dereference: dat [nullPointerOutOfMemory] bcftools-1.22/test/test-rbuf.c:40:34: note: Assuming allocation function fails bcftools-1.22/test/test-rbuf.c:40:22: note: Assignment 'dat=(int*)calloc(10,sizeof(int))', assigned value is 0 bcftools-1.22/test/test-rbuf.c:54:27: note: Null pointer dereference bcftools-1.22/test/test-rbuf.c:64:9: warning: If memory allocation fails, then there is a possible null pointer dereference: dat [nullPointerOutOfMemory] bcftools-1.22/test/test-rbuf.c:40:34: note: Assuming allocation function fails bcftools-1.22/test/test-rbuf.c:40:22: note: Assignment 'dat=(int*)calloc(10,sizeof(int))', assigned value is 0 bcftools-1.22/test/test-rbuf.c:64:9: note: Null pointer dereference bcftools-1.22/test/test-rbuf.c:29:37: style: Parameter 'dat' can be declared as pointer to const [constParameterPointer] bcftools-1.22/test/test-regidx.c:51:6: error: There is an unknown macro here somewhere. Configuration is required. If HTS_FORMAT is a macro then please configure it. [unknownMacro] bcftools-1.22/tsv2vcf.c:35:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tsv [nullPointerOutOfMemory] bcftools-1.22/tsv2vcf.c:32:34: note: Assuming allocation function fails bcftools-1.22/tsv2vcf.c:32:18: note: Assignment 'tsv=(struct tsv_t*)calloc(1,sizeof(struct tsv_t))', assigned value is 0 bcftools-1.22/tsv2vcf.c:35:5: note: Null pointer dereference bcftools-1.22/tsv2vcf.c:39:9: warning: If memory allocation fails, then there is a possible null pointer dereference: tsv [nullPointerOutOfMemory] bcftools-1.22/tsv2vcf.c:32:34: note: Assuming allocation function fails bcftools-1.22/tsv2vcf.c:32:18: note: Assignment 'tsv=(struct tsv_t*)calloc(1,sizeof(struct tsv_t))', assigned value is 0 bcftools-1.22/tsv2vcf.c:38:18: note: Assuming condition is false bcftools-1.22/tsv2vcf.c:39:9: note: Null pointer dereference bcftools-1.22/tsv2vcf.c:40:9: warning: If memory allocation fails, then there is a possible null pointer dereference: tsv [nullPointerOutOfMemory] bcftools-1.22/tsv2vcf.c:32:34: note: Assuming allocation function fails bcftools-1.22/tsv2vcf.c:32:18: note: Assignment 'tsv=(struct tsv_t*)calloc(1,sizeof(struct tsv_t))', assigned value is 0 bcftools-1.22/tsv2vcf.c:38:18: note: Assuming condition is false bcftools-1.22/tsv2vcf.c:40:9: note: Null pointer dereference bcftools-1.22/tsv2vcf.c:40:42: warning: If memory allocation fails, then there is a possible null pointer dereference: tsv [nullPointerOutOfMemory] bcftools-1.22/tsv2vcf.c:32:34: note: Assuming allocation function fails bcftools-1.22/tsv2vcf.c:32:18: note: Assignment 'tsv=(struct tsv_t*)calloc(1,sizeof(struct tsv_t))', assigned value is 0 bcftools-1.22/tsv2vcf.c:38:18: note: Assuming condition is false bcftools-1.22/tsv2vcf.c:40:42: note: Null pointer dereference bcftools-1.22/tsv2vcf.c:40:70: warning: If memory allocation fails, then there is a possible null pointer dereference: tsv [nullPointerOutOfMemory] bcftools-1.22/tsv2vcf.c:32:34: note: Assuming allocation function fails bcftools-1.22/tsv2vcf.c:32:18: note: Assignment 'tsv=(struct tsv_t*)calloc(1,sizeof(struct tsv_t))', assigned value is 0 bcftools-1.22/tsv2vcf.c:38:18: note: Assuming condition is false bcftools-1.22/tsv2vcf.c:40:70: note: Null pointer dereference bcftools-1.22/tsv2vcf.c:41:9: warning: If memory allocation fails, then there is a possible null pointer dereference: tsv [nullPointerOutOfMemory] bcftools-1.22/tsv2vcf.c:32:34: note: Assuming allocation function fails bcftools-1.22/tsv2vcf.c:32:18: note: Assignment 'tsv=(struct tsv_t*)calloc(1,sizeof(struct tsv_t))', assigned value is 0 bcftools-1.22/tsv2vcf.c:38:18: note: Assuming condition is false bcftools-1.22/tsv2vcf.c:41:9: note: Null pointer dereference bcftools-1.22/tsv2vcf.c:41:19: warning: If memory allocation fails, then there is a possible null pointer dereference: tsv [nullPointerOutOfMemory] bcftools-1.22/tsv2vcf.c:32:34: note: Assuming allocation function fails bcftools-1.22/tsv2vcf.c:32:18: note: Assignment 'tsv=(struct tsv_t*)calloc(1,sizeof(struct tsv_t))', assigned value is 0 bcftools-1.22/tsv2vcf.c:38:18: note: Assuming condition is false bcftools-1.22/tsv2vcf.c:41:19: note: Null pointer dereference bcftools-1.22/tsv2vcf.c:42:9: warning: If memory allocation fails, then there is a possible null pointer dereference: tsv [nullPointerOutOfMemory] bcftools-1.22/tsv2vcf.c:32:34: note: Assuming allocation function fails bcftools-1.22/tsv2vcf.c:32:18: note: Assignment 'tsv=(struct tsv_t*)calloc(1,sizeof(struct tsv_t))', assigned value is 0 bcftools-1.22/tsv2vcf.c:38:18: note: Assuming condition is false bcftools-1.22/tsv2vcf.c:42:9: note: Null pointer dereference bcftools-1.22/tsv2vcf.c:42:19: warning: If memory allocation fails, then there is a possible null pointer dereference: tsv [nullPointerOutOfMemory] bcftools-1.22/tsv2vcf.c:32:34: note: Assuming allocation function fails bcftools-1.22/tsv2vcf.c:32:18: note: Assignment 'tsv=(struct tsv_t*)calloc(1,sizeof(struct tsv_t))', assigned value is 0 bcftools-1.22/tsv2vcf.c:38:18: note: Assuming condition is false bcftools-1.22/tsv2vcf.c:42:19: note: Null pointer dereference bcftools-1.22/tsv2vcf.c:62:73: style:inconclusive: Function 'tsv_register' argument 4 names different: declaration '' definition 'usr'. [funcArgNamesDifferentUnnamed] bcftools-1.22/tsv2vcf.c:105:27: style: Parameter 'tsv' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfannotate.c:283:1: error: There is an unknown macro here somewhere. Configuration is required. If KHASH_MAP_INIT_STR is a macro then please configure it. [unknownMacro] bcftools-1.22/vcfbuf.c:140:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clean [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfbuf.c:300:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dirty [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfbuf.c:318:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clean [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfbuf.c:397:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_INFO [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfbuf.c:427:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dirty [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfbuf.c:471:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dirty [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfbuf.c:533:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dirty [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfbuf.c:592:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dirty [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfbuf.c:678:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dirty [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfbuf.c:796:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rid [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfbuf.c:845:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_gt_missing [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfbuf.c:876:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfbuf.c:1006:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rid [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfbuf.c:138:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] bcftools-1.22/vcfbuf.c:137:39: note: Assuming allocation function fails bcftools-1.22/vcfbuf.c:137:21: note: Assignment 'buf=(struct vcfbuf_t*)calloc(1,sizeof(struct vcfbuf_t))', assigned value is 0 bcftools-1.22/vcfbuf.c:138:5: note: Null pointer dereference bcftools-1.22/vcfbuf.c:139:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] bcftools-1.22/vcfbuf.c:137:39: note: Assuming allocation function fails bcftools-1.22/vcfbuf.c:137:21: note: Assignment 'buf=(struct vcfbuf_t*)calloc(1,sizeof(struct vcfbuf_t))', assigned value is 0 bcftools-1.22/vcfbuf.c:139:5: note: Null pointer dereference bcftools-1.22/vcfbuf.c:140:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] bcftools-1.22/vcfbuf.c:137:39: note: Assuming allocation function fails bcftools-1.22/vcfbuf.c:137:21: note: Assignment 'buf=(struct vcfbuf_t*)calloc(1,sizeof(struct vcfbuf_t))', assigned value is 0 bcftools-1.22/vcfbuf.c:140:5: note: Null pointer dereference bcftools-1.22/vcfbuf.c:141:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] bcftools-1.22/vcfbuf.c:137:39: note: Assuming allocation function fails bcftools-1.22/vcfbuf.c:137:21: note: Assignment 'buf=(struct vcfbuf_t*)calloc(1,sizeof(struct vcfbuf_t))', assigned value is 0 bcftools-1.22/vcfbuf.c:141:5: note: Null pointer dereference bcftools-1.22/vcfbuf.c:143:35: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] bcftools-1.22/vcfbuf.c:137:39: note: Assuming allocation function fails bcftools-1.22/vcfbuf.c:137:21: note: Assignment 'buf=(struct vcfbuf_t*)calloc(1,sizeof(struct vcfbuf_t))', assigned value is 0 bcftools-1.22/vcfbuf.c:143:35: note: Null pointer dereference bcftools-1.22/vcfbuf.c:449:17: style: Local variable 'k1' shadows outer variable [shadowVariable] bcftools-1.22/vcfbuf.c:437:13: note: Shadowed variable bcftools-1.22/vcfbuf.c:449:17: note: Shadow local variable bcftools-1.22/vcfbuf.c:450:17: style: Local variable 'k2' shadows outer variable [shadowVariable] bcftools-1.22/vcfbuf.c:438:13: note: Shadowed variable bcftools-1.22/vcfbuf.c:450:17: note: Shadow local variable bcftools-1.22/vcfbuf.c:741:17: style: Local variable 'b' shadows outer variable [shadowVariable] bcftools-1.22/vcfbuf.c:728:9: note: Shadowed variable bcftools-1.22/vcfbuf.c:741:17: note: Shadow local variable bcftools-1.22/vcfbuf.c:742:17: style: Local variable 'e' shadows outer variable [shadowVariable] bcftools-1.22/vcfbuf.c:729:9: note: Shadowed variable bcftools-1.22/vcfbuf.c:742:17: note: Shadow local variable bcftools-1.22/vcfbuf.c:334:15: style: Variable 'a' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfbuf.c:335:15: style: Variable 'b' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfbuf.c:439:19: style: Variable 'rec1' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfbuf.c:440:19: style: Variable 'rec2' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfbuf.c:495:15: style: Variable 'ref' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfbuf.c:496:15: style: Variable 'alt' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfbuf.c:544:36: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfbuf.c:544:47: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfbuf.c:553:16: style: Variable 'a' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfbuf.c:554:16: style: Variable 'b' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfbuf.c:89:9: style: struct member 'overlap_t::rmme' is never used. [unusedStructMember] bcftools-1.22/vcfbuf.c:284:31: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] bcftools-1.22/vcfcall.c:240:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfcall.c:300:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfcall.c:408:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_gt_missing [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfcall.c:420:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfcall.c:479:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_ALL [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfcall.c:536:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfcall.c:680:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_SR_REGIONS_OVERLAP [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfcall.c:822:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfcall.c:874:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfcall.c:914:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfcall.c:941:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfcall.c:1073:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfcall.c:311:59: warning: If memory allocation fails, then there is a possible null pointer dereference: old2new [nullPointerOutOfMemory] bcftools-1.22/vcfcall.c:307:33: note: Assuming allocation function fails bcftools-1.22/vcfcall.c:307:20: note: Assignment 'old2new=(int*)malloc(sizeof(int)*bcf_hdr_nsamples(args->aux.hdr))', assigned value is 0 bcftools-1.22/vcfcall.c:311:59: note: Null pointer dereference bcftools-1.22/vcfcall.c:353:59: warning: If memory allocation fails, then there is a possible null pointer dereference: old2new [nullPointerOutOfMemory] bcftools-1.22/vcfcall.c:307:33: note: Assuming allocation function fails bcftools-1.22/vcfcall.c:307:20: note: Assignment 'old2new=(int*)malloc(sizeof(int)*bcf_hdr_nsamples(args->aux.hdr))', assigned value is 0 bcftools-1.22/vcfcall.c:353:59: note: Null pointer dereference bcftools-1.22/vcfcall.c:376:13: warning: If memory allocation fails, then there is a possible null pointer dereference: lines [nullPointerOutOfMemory] bcftools-1.22/vcfcall.c:371:23: note: Assuming allocation function fails bcftools-1.22/vcfcall.c:371:23: note: Assignment 'lines=malloc(sizeof(*lines)*bcf_hdr_nsamples(args->aux.hdr))', assigned value is 0 bcftools-1.22/vcfcall.c:375:18: note: Assuming condition is false bcftools-1.22/vcfcall.c:376:13: note: Null pointer dereference bcftools-1.22/vcfcall.c:390:30: warning: If memory allocation fails, then there is a possible null pointer dereference: old2new [nullPointerOutOfMemory] bcftools-1.22/vcfcall.c:307:33: note: Assuming allocation function fails bcftools-1.22/vcfcall.c:307:20: note: Assignment 'old2new=(int*)malloc(sizeof(int)*bcf_hdr_nsamples(args->aux.hdr))', assigned value is 0 bcftools-1.22/vcfcall.c:390:30: note: Null pointer dereference bcftools-1.22/vcfcall.c:1095:26: warning: Either the condition '!args.aux.prior_AC' is redundant or there is possible null pointer dereference: args.aux.prior_AC. [nullPointerRedundantCheck] bcftools-1.22/vcfcall.c:1094:22: note: Assuming that condition '!args.aux.prior_AC' is not redundant bcftools-1.22/vcfcall.c:1095:26: note: Null pointer dereference bcftools-1.22/vcfcall.c:1201:16: style: Local variable 'is_indel' shadows outer function [shadowFunction] bcftools-1.22/vcfcall.c:514:19: note: Shadowed function bcftools-1.22/vcfcall.c:1201:16: note: Shadow local variable bcftools-1.22/vcfcall.c:673:98: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] bcftools-1.22/vcfcall.c:673:187: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] bcftools-1.22/vcfcall.c:1180:32: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] bcftools-1.22/vcfcall.c:1180:65: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] bcftools-1.22/vcfcall.c:1180:98: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] bcftools-1.22/vcfcall.c:1182:32: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] bcftools-1.22/vcfcall.c:416:123: style: Parameter 'usr' can be declared as pointer to const. However it seems that 'tgt_parse' is a callback function, if 'usr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/vcfcall.c:673:52: note: You might need to cast the function pointer here bcftools-1.22/vcfcall.c:416:123: note: Parameter 'usr' can be declared as pointer to const bcftools-1.22/vcfcall.c:1005:11: style: Variable 'ploidy_fname' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfcall.c:1026:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/vcfcnv.c:109:7: error: There is an unknown macro here somewhere. Configuration is required. If open_file is a macro then please configure it. [unknownMacro] bcftools-1.22/vcfconcat.c:94:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconcat.c:271:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconcat.c:283:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable header [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconcat.c:419:138: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fname [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconcat.c:505:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable header [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconcat.c:789:109: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_HL_CTG [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconcat.c:812:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconcat.c:856:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconcat.c:960:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconcat.c:1040:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconcat.c:1000:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfconcat.c:999:37: note: Assuming allocation function fails bcftools-1.22/vcfconcat.c:999:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfconcat.c:1000:5: note: Null pointer dereference bcftools-1.22/vcfconcat.c:1000:27: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfconcat.c:999:37: note: Assuming allocation function fails bcftools-1.22/vcfconcat.c:999:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfconcat.c:1000:27: note: Null pointer dereference bcftools-1.22/vcfconcat.c:1001:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfconcat.c:999:37: note: Assuming allocation function fails bcftools-1.22/vcfconcat.c:999:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfconcat.c:1001:5: note: Null pointer dereference bcftools-1.22/vcfconcat.c:1002:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfconcat.c:999:37: note: Assuming allocation function fails bcftools-1.22/vcfconcat.c:999:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfconcat.c:1002:5: note: Null pointer dereference bcftools-1.22/vcfconcat.c:1003:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfconcat.c:999:37: note: Assuming allocation function fails bcftools-1.22/vcfconcat.c:999:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfconcat.c:1003:5: note: Null pointer dereference bcftools-1.22/vcfconcat.c:1004:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfconcat.c:999:37: note: Assuming allocation function fails bcftools-1.22/vcfconcat.c:999:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfconcat.c:1004:5: note: Null pointer dereference bcftools-1.22/vcfconcat.c:1005:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfconcat.c:999:37: note: Assuming allocation function fails bcftools-1.22/vcfconcat.c:999:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfconcat.c:1005:5: note: Null pointer dereference bcftools-1.22/vcfconcat.c:1006:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfconcat.c:999:37: note: Assuming allocation function fails bcftools-1.22/vcfconcat.c:999:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfconcat.c:1006:5: note: Null pointer dereference bcftools-1.22/vcfconcat.c:1007:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfconcat.c:999:37: note: Assuming allocation function fails bcftools-1.22/vcfconcat.c:999:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfconcat.c:1007:5: note: Null pointer dereference bcftools-1.22/vcfconcat.c:202:19: style: Local variable 'str' shadows outer variable [shadowVariable] bcftools-1.22/vcfconcat.c:95:15: note: Shadowed variable bcftools-1.22/vcfconcat.c:202:19: note: Shadow local variable bcftools-1.22/vcfconcat.c:71:46: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfconcat.c:1009:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/vcfconvert.c:99:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_SR_REGIONS_OVERLAP [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconvert.c:295:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconvert.c:347:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconvert.c:433:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KS_SEP_LINE [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconvert.c:599:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KS_SEP_LINE [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconvert.c:734:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KS_SEP_LINE [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconvert.c:853:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_SAMPLE [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconvert.c:922:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconvert.c:1046:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconvert.c:1194:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconvert.c:1295:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_gt_missing [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconvert.c:1400:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconvert.c:1479:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconvert.c:1522:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconvert.c:1606:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconvert.c:1732:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfconvert.c:210:13: style: Redundant condition: The condition '*se' is redundant since '*se == '_'' is sufficient. [redundantCondition] bcftools-1.22/vcfconvert.c:926:9: style: The if condition is the same as the previous if condition [duplicateCondition] bcftools-1.22/vcfconvert.c:923:9: note: First condition bcftools-1.22/vcfconvert.c:926:9: note: Second condition bcftools-1.22/vcfconvert.c:1051:9: style: The if condition is the same as the previous if condition [duplicateCondition] bcftools-1.22/vcfconvert.c:1048:9: note: First condition bcftools-1.22/vcfconvert.c:1051:9: note: Second condition bcftools-1.22/vcfconvert.c:1198:9: style: The if condition is the same as the previous if condition [duplicateCondition] bcftools-1.22/vcfconvert.c:1195:9: note: First condition bcftools-1.22/vcfconvert.c:1198:9: note: Second condition bcftools-1.22/vcfconvert.c:1229:18: style: Condition 'hap_fname' is always true [knownConditionTrueFalse] bcftools-1.22/vcfconvert.c:139:17: warning: If memory allocation fails, then there is a possible null pointer dereference: samples [nullPointerOutOfMemory] bcftools-1.22/vcfconvert.c:136:36: note: Assuming allocation function fails bcftools-1.22/vcfconvert.c:136:23: note: Assignment 'samples=(int*)malloc(sizeof(int)*nsamples)', assigned value is 0 bcftools-1.22/vcfconvert.c:139:17: note: Null pointer dereference bcftools-1.22/vcfconvert.c:587:10: warning: Either the condition '!se' is redundant or there is possible null pointer dereference: se. [nullPointerRedundantCheck] bcftools-1.22/vcfconvert.c:585:14: note: Assuming that condition '!se' is not redundant bcftools-1.22/vcfconvert.c:587:10: note: Null pointer dereference bcftools-1.22/vcfconvert.c:1328:5: warning: Either the condition '!ref' is redundant or there is possible null pointer dereference: ref. [nullPointerRedundantCheck] bcftools-1.22/vcfconvert.c:1325:10: note: Assuming that condition '!ref' is not redundant bcftools-1.22/vcfconvert.c:1328:5: note: Null pointer dereference bcftools-1.22/vcfconvert.c:1328:22: warning: Either the condition '!ref' is redundant or there is possible null pointer dereference: ref. [nullPointerRedundantCheck] bcftools-1.22/vcfconvert.c:1325:10: note: Assuming that condition '!ref' is not redundant bcftools-1.22/vcfconvert.c:1328:22: note: Null pointer dereference bcftools-1.22/vcfconvert.c:1329:26: warning: Either the condition '!ref' is redundant or there is possible null pointer dereference: ref. [nullPointerRedundantCheck] bcftools-1.22/vcfconvert.c:1325:10: note: Assuming that condition '!ref' is not redundant bcftools-1.22/vcfconvert.c:1329:26: note: Null pointer dereference bcftools-1.22/vcfconvert.c:1585:39: warning: Either the condition '!ref' is redundant or there is possible null pointer dereference: ref. [nullPointerRedundantCheck] bcftools-1.22/vcfconvert.c:1584:18: note: Assuming that condition '!ref' is not redundant bcftools-1.22/vcfconvert.c:1585:39: note: Null pointer dereference bcftools-1.22/vcfconvert.c:1682:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfconvert.c:1681:36: note: Assuming allocation function fails bcftools-1.22/vcfconvert.c:1681:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfconvert.c:1682:5: note: Null pointer dereference bcftools-1.22/vcfconvert.c:1682:26: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfconvert.c:1681:36: note: Assuming allocation function fails bcftools-1.22/vcfconvert.c:1681:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfconvert.c:1682:26: note: Null pointer dereference bcftools-1.22/vcfconvert.c:1683:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfconvert.c:1681:36: note: Assuming allocation function fails bcftools-1.22/vcfconvert.c:1681:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfconvert.c:1683:5: note: Null pointer dereference bcftools-1.22/vcfconvert.c:1684:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfconvert.c:1681:36: note: Assuming allocation function fails bcftools-1.22/vcfconvert.c:1681:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfconvert.c:1684:5: note: Null pointer dereference bcftools-1.22/vcfconvert.c:1685:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfconvert.c:1681:36: note: Assuming allocation function fails bcftools-1.22/vcfconvert.c:1681:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfconvert.c:1685:5: note: Null pointer dereference bcftools-1.22/vcfconvert.c:1686:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfconvert.c:1681:36: note: Assuming allocation function fails bcftools-1.22/vcfconvert.c:1681:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfconvert.c:1686:5: note: Null pointer dereference bcftools-1.22/vcfconvert.c:1687:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfconvert.c:1681:36: note: Assuming allocation function fails bcftools-1.22/vcfconvert.c:1681:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfconvert.c:1687:5: note: Null pointer dereference bcftools-1.22/vcfconvert.c:1688:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfconvert.c:1681:36: note: Assuming allocation function fails bcftools-1.22/vcfconvert.c:1681:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfconvert.c:1688:5: note: Null pointer dereference bcftools-1.22/vcfconvert.c:1689:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfconvert.c:1681:36: note: Assuming allocation function fails bcftools-1.22/vcfconvert.c:1681:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfconvert.c:1689:5: note: Null pointer dereference bcftools-1.22/vcfconvert.c:454:22: warning: Either the condition '!sc' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] bcftools-1.22/vcfconvert.c:452:18: note: Assuming that condition '!sc' is not redundant bcftools-1.22/vcfconvert.c:454:22: note: Null pointer subtraction bcftools-1.22/vcfconvert.c:590:33: warning: Either the condition '!se' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] bcftools-1.22/vcfconvert.c:585:14: note: Assuming that condition '!se' is not redundant bcftools-1.22/vcfconvert.c:590:33: note: Null pointer addition bcftools-1.22/vcfconvert.c:606:22: warning: Either the condition '!se' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] bcftools-1.22/vcfconvert.c:605:10: note: Assuming that condition '!se' is not redundant bcftools-1.22/vcfconvert.c:606:22: note: Null pointer subtraction bcftools-1.22/vcfconvert.c:754:18: warning: Either the condition '!sc' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] bcftools-1.22/vcfconvert.c:752:10: note: Assuming that condition '!sc' is not redundant bcftools-1.22/vcfconvert.c:754:18: note: Null pointer subtraction bcftools-1.22/vcfconvert.c:931:13: style: Local variable 'i' shadows outer variable [shadowVariable] bcftools-1.22/vcfconvert.c:896:22: note: Shadowed variable bcftools-1.22/vcfconvert.c:931:13: note: Shadow local variable bcftools-1.22/vcfconvert.c:989:17: style: Local variable 'ret' shadows outer variable [shadowVariable] bcftools-1.22/vcfconvert.c:892:9: note: Shadowed variable bcftools-1.22/vcfconvert.c:989:17: note: Shadow local variable bcftools-1.22/vcfconvert.c:1056:13: style: Local variable 'i' shadows outer variable [shadowVariable] bcftools-1.22/vcfconvert.c:1015:22: note: Shadowed variable bcftools-1.22/vcfconvert.c:1056:13: note: Shadow local variable bcftools-1.22/vcfconvert.c:1203:13: style: Local variable 'i' shadows outer variable [shadowVariable] bcftools-1.22/vcfconvert.c:1168:22: note: Shadowed variable bcftools-1.22/vcfconvert.c:1203:13: note: Shadow local variable bcftools-1.22/vcfconvert.c:243:13: style: Variable 'args' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfconvert.c:251:13: style: Variable 'args' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfconvert.c:259:54: style: Parameter 'rec' can be declared as pointer to const. However it seems that 'tsv_setter_verify_pos' is a callback function, if 'rec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/vcfconvert.c:775:30: note: You might need to cast the function pointer here bcftools-1.22/vcfconvert.c:259:54: note: Parameter 'rec' can be declared as pointer to const bcftools-1.22/vcfconvert.c:326:35: style: Parameter 'tsv' can be declared as pointer to const. However it seems that 'tsv_setter_haps' is a callback function, if 'tsv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/vcfconvert.c:777:31: note: You might need to cast the function pointer here bcftools-1.22/vcfconvert.c:326:35: note: Parameter 'tsv' can be declared as pointer to const bcftools-1.22/vcfconvert.c:339:15: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfconvert.c:445:15: style: Variable 'sc' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfconvert.c:751:11: style: Variable 'sc' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfconvert.c:1288:64: style: Parameter 'se' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfconvert.c:1691:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/vcffilter.c:90:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bcftools-1.22/vcffilter.c:230:110: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] bcftools-1.22/vcffilter.c:268:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rid [valueFlowBailoutIncompleteVar] bcftools-1.22/vcffilter.c:405:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_gt_missing [valueFlowBailoutIncompleteVar] bcftools-1.22/vcffilter.c:446:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_STR [valueFlowBailoutIncompleteVar] bcftools-1.22/vcffilter.c:471:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcffilter.c:548:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bcftools-1.22/vcffilter.c:101:22: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] bcftools-1.22/vcffilter.c:100:32: note: Assuming allocation function fails bcftools-1.22/vcffilter.c:100:32: note: Assignment 'rmme=strdup(args->mask_negate?args->mask_list+1:args->mask_list)', assigned value is 0 bcftools-1.22/vcffilter.c:100:94: note: Assignment 'tmp=rmme', assigned value is 0 bcftools-1.22/vcffilter.c:101:22: note: Null pointer dereference bcftools-1.22/vcffilter.c:103:23: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] bcftools-1.22/vcffilter.c:100:32: note: Assuming allocation function fails bcftools-1.22/vcffilter.c:100:32: note: Assignment 'rmme=strdup(args->mask_negate?args->mask_list+1:args->mask_list)', assigned value is 0 bcftools-1.22/vcffilter.c:100:94: note: Assignment 'tmp=rmme', assigned value is 0 bcftools-1.22/vcffilter.c:103:23: note: Null pointer dereference bcftools-1.22/vcffilter.c:506:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcffilter.c:505:37: note: Assuming allocation function fails bcftools-1.22/vcffilter.c:505:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcffilter.c:506:5: note: Null pointer dereference bcftools-1.22/vcffilter.c:506:27: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcffilter.c:505:37: note: Assuming allocation function fails bcftools-1.22/vcffilter.c:505:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcffilter.c:506:27: note: Null pointer dereference bcftools-1.22/vcffilter.c:507:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcffilter.c:505:37: note: Assuming allocation function fails bcftools-1.22/vcffilter.c:505:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcffilter.c:507:5: note: Null pointer dereference bcftools-1.22/vcffilter.c:508:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcffilter.c:505:37: note: Assuming allocation function fails bcftools-1.22/vcffilter.c:505:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcffilter.c:508:5: note: Null pointer dereference bcftools-1.22/vcffilter.c:509:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcffilter.c:505:37: note: Assuming allocation function fails bcftools-1.22/vcffilter.c:505:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcffilter.c:509:5: note: Null pointer dereference bcftools-1.22/vcffilter.c:510:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcffilter.c:505:37: note: Assuming allocation function fails bcftools-1.22/vcffilter.c:505:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcffilter.c:510:5: note: Null pointer dereference bcftools-1.22/vcffilter.c:511:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcffilter.c:505:37: note: Assuming allocation function fails bcftools-1.22/vcffilter.c:505:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcffilter.c:511:5: note: Null pointer dereference bcftools-1.22/vcffilter.c:512:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcffilter.c:505:37: note: Assuming allocation function fails bcftools-1.22/vcffilter.c:505:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcffilter.c:512:5: note: Null pointer dereference bcftools-1.22/vcffilter.c:516:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcffilter.c:505:37: note: Assuming allocation function fails bcftools-1.22/vcffilter.c:505:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcffilter.c:516:5: note: Null pointer dereference bcftools-1.22/vcffilter.c:104:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] bcftools-1.22/vcffilter.c:100:32: note: Assuming allocation function fails bcftools-1.22/vcffilter.c:100:32: note: Assignment 'rmme=strdup(args->mask_negate?args->mask_list+1:args->mask_list)', assigned value is 0 bcftools-1.22/vcffilter.c:100:94: note: Assignment 'tmp=rmme', assigned value is 0 bcftools-1.22/vcffilter.c:104:20: note: Null pointer addition bcftools-1.22/vcffilter.c:669:19: style: Local variable 'tmp' shadows outer variable [shadowVariable] bcftools-1.22/vcffilter.c:544:11: note: Shadowed variable bcftools-1.22/vcffilter.c:669:19: note: Shadow local variable bcftools-1.22/vcffilter.c:455:19: style: Variable 'ref' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcffilter.c:456:19: style: Variable 'alt' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcffilter.c:518:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/vcfgtcheck.c:174:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfgtcheck.c:238:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_SAMPLE [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfgtcheck.c:258:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_SR_REGIONS_OVERLAP [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfgtcheck.c:479:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfgtcheck.c:485:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_missing [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfgtcheck.c:543:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfgtcheck.c:621:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_INFO [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfgtcheck.c:1110:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfgtcheck.c:1142:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfgtcheck.c:1224:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfgtcheck.c:101:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:1196:36: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:1196:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfgtcheck.c:1197:53: note: Calling function 'set_cwd', 1st argument 'args' value is 0 bcftools-1.22/vcfgtcheck.c:101:5: note: Null pointer dereference bcftools-1.22/vcfgtcheck.c:104:28: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:1196:36: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:1196:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfgtcheck.c:1197:53: note: Calling function 'set_cwd', 1st argument 'args' value is 0 bcftools-1.22/vcfgtcheck.c:104:28: note: Null pointer dereference bcftools-1.22/vcfgtcheck.c:106:9: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:1196:36: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:1196:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfgtcheck.c:1197:53: note: Calling function 'set_cwd', 1st argument 'args' value is 0 bcftools-1.22/vcfgtcheck.c:104:19: note: Assuming condition is false bcftools-1.22/vcfgtcheck.c:106:9: note: Null pointer dereference bcftools-1.22/vcfgtcheck.c:106:37: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:1196:36: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:1196:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfgtcheck.c:1197:53: note: Calling function 'set_cwd', 1st argument 'args' value is 0 bcftools-1.22/vcfgtcheck.c:104:19: note: Assuming condition is false bcftools-1.22/vcfgtcheck.c:106:37: note: Null pointer dereference bcftools-1.22/vcfgtcheck.c:203:12: warning: If memory allocation fails, then there is a possible null pointer dereference: dat [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:202:47: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:202:25: note: Assignment 'dat=(struct diff_sites_t*)malloc(args->diff_sites_size)', assigned value is 0 bcftools-1.22/vcfgtcheck.c:203:12: note: Null pointer dereference bcftools-1.22/vcfgtcheck.c:204:5: warning: If memory allocation fails, then there is a possible null pointer dereference: dat [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:202:47: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:202:25: note: Assignment 'dat=(struct diff_sites_t*)malloc(args->diff_sites_size)', assigned value is 0 bcftools-1.22/vcfgtcheck.c:204:5: note: Null pointer dereference bcftools-1.22/vcfgtcheck.c:205:5: warning: If memory allocation fails, then there is a possible null pointer dereference: dat [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:202:47: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:202:25: note: Assignment 'dat=(struct diff_sites_t*)malloc(args->diff_sites_size)', assigned value is 0 bcftools-1.22/vcfgtcheck.c:205:5: note: Null pointer dereference bcftools-1.22/vcfgtcheck.c:206:5: warning: If memory allocation fails, then there is a possible null pointer dereference: dat [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:202:47: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:202:25: note: Assignment 'dat=(struct diff_sites_t*)malloc(args->diff_sites_size)', assigned value is 0 bcftools-1.22/vcfgtcheck.c:206:5: note: Null pointer dereference bcftools-1.22/vcfgtcheck.c:207:5: warning: If memory allocation fails, then there is a possible null pointer dereference: dat [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:202:47: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:202:25: note: Assignment 'dat=(struct diff_sites_t*)malloc(args->diff_sites_size)', assigned value is 0 bcftools-1.22/vcfgtcheck.c:207:5: note: Null pointer dereference bcftools-1.22/vcfgtcheck.c:208:12: warning: If memory allocation fails, then there is a possible null pointer dereference: dat [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:202:47: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:202:25: note: Assignment 'dat=(struct diff_sites_t*)malloc(args->diff_sites_size)', assigned value is 0 bcftools-1.22/vcfgtcheck.c:208:12: note: Null pointer dereference bcftools-1.22/vcfgtcheck.c:1197:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:1196:36: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:1196:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfgtcheck.c:1197:5: note: Null pointer dereference bcftools-1.22/vcfgtcheck.c:1197:26: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:1196:36: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:1196:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfgtcheck.c:1197:26: note: Null pointer dereference bcftools-1.22/vcfgtcheck.c:1198:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:1196:36: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:1196:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfgtcheck.c:1198:5: note: Null pointer dereference bcftools-1.22/vcfgtcheck.c:1199:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:1196:36: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:1196:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfgtcheck.c:1199:5: note: Null pointer dereference bcftools-1.22/vcfgtcheck.c:1200:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:1196:36: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:1196:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfgtcheck.c:1200:5: note: Null pointer dereference bcftools-1.22/vcfgtcheck.c:1201:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:1196:36: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:1196:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfgtcheck.c:1201:5: note: Null pointer dereference bcftools-1.22/vcfgtcheck.c:1202:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:1196:36: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:1196:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfgtcheck.c:1202:5: note: Null pointer dereference bcftools-1.22/vcfgtcheck.c:1203:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:1196:36: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:1196:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfgtcheck.c:1203:5: note: Null pointer dereference bcftools-1.22/vcfgtcheck.c:1204:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:1196:36: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:1196:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfgtcheck.c:1204:5: note: Null pointer dereference bcftools-1.22/vcfgtcheck.c:1210:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:1196:36: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:1196:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfgtcheck.c:1210:5: note: Null pointer dereference bcftools-1.22/vcfgtcheck.c:1212:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:1196:36: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:1196:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfgtcheck.c:1212:5: note: Null pointer dereference bcftools-1.22/vcfgtcheck.c:1218:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:1196:36: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:1196:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfgtcheck.c:1218:5: note: Null pointer dereference bcftools-1.22/vcfgtcheck.c:1219:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:1196:36: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:1196:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfgtcheck.c:1219:5: note: Null pointer dereference bcftools-1.22/vcfgtcheck.c:1338:43: warning: Either the condition '!list' is redundant or there is possible null pointer dereference: list. [nullPointerRedundantCheck] bcftools-1.22/vcfgtcheck.c:1337:26: note: Assuming that condition '!list' is not redundant bcftools-1.22/vcfgtcheck.c:1338:43: note: Null pointer dereference bcftools-1.22/vcfgtcheck.c:999:21: style: Local variable 'idx' shadows outer variable [shadowVariable] bcftools-1.22/vcfgtcheck.c:981:17: note: Shadowed variable bcftools-1.22/vcfgtcheck.c:999:21: note: Shadow local variable bcftools-1.22/vcfgtcheck.c:1066:21: style: Local variable 'idx' shadows outer variable [shadowVariable] bcftools-1.22/vcfgtcheck.c:1030:19: note: Shadowed variable bcftools-1.22/vcfgtcheck.c:1066:21: note: Shadow local variable bcftools-1.22/vcfgtcheck.c:643:33: style: Clarify calculation precedence for '+' and '?'. [clarifyCalculation] bcftools-1.22/vcfgtcheck.c:133:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfgtcheck.c:134:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfgtcheck.c:160:19: style: Variable 'a' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfgtcheck.c:161:19: style: Variable 'b' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfgtcheck.c:213:19: style: Variable 'dat' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfgtcheck.c:823:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfgtcheck.c:824:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfgtcheck.c:1221:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/vcfgtcheck.c:175:16: style: Variable 'nsites' is assigned a value that is never used. [unreadVariable] bcftools-1.22/vcfhead.c:68:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfindex.c:49:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfindex.c:90:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTS_IDX_DELIM [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfindex.c:252:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfindex.c:102:9: warning: If memory allocation fails, then there is a possible null pointer dereference: fname [nullPointerOutOfMemory] bcftools-1.22/vcfindex.c:100:24: note: Assuming allocation function fails bcftools-1.22/vcfindex.c:100:24: note: Assignment 'fntemp=strdup(fname)', assigned value is 0 bcftools-1.22/vcfindex.c:101:16: note: fname is assigned 'fntemp' here. bcftools-1.22/vcfindex.c:102:9: note: Null pointer dereference bcftools-1.22/vcfindex.c:131:17: style: Local variable 'len' shadows outer variable [shadowVariable] bcftools-1.22/vcfindex.c:88:9: note: Shadowed variable bcftools-1.22/vcfindex.c:131:17: note: Shadow local variable bcftools-1.22/vcfindex.c:187:13: style: Local variable 'ret' shadows outer variable [shadowVariable] bcftools-1.22/vcfindex.c:73:24: note: Shadowed variable bcftools-1.22/vcfindex.c:187:13: note: Shadow local variable bcftools-1.22/vcfindex.c:154:15: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfindex.c:165:15: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfindex.c:230:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/vcfisec.c:110:8: error: There is an unknown macro here somewhere. Configuration is required. If HTS_FORMAT is a macro then please configure it. [unknownMacro] bcftools-1.22/vcfmerge.c:51:1: error: There is an unknown macro here somewhere. Configuration is required. If KHASH_MAP_INIT_STR is a macro then please configure it. [unknownMacro] bcftools-1.22/vcfnorm.c:148:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:201:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_STR [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:367:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:435:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:509:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:565:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_STR [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:822:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_HL_INFO [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:861:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:927:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:946:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:1120:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_HL_FMT [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:1140:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:1270:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_ALL [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:1443:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_HL_INFO [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:1452:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:1459:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:1529:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:1564:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int32_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:1758:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_HL_FMT [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:1767:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:1893:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_ALL [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:1986:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLLAPSE_ANY [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:2005:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rid [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:2026:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLLAPSE_ANY [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:2085:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:2137:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str2int [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:2173:111: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:2209:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable header [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:2293:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:2345:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:2402:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLLAPSE_ANY [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:2427:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:2491:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:2551:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLLAPSE_BOTH [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfnorm.c:153:14: style: Condition 'inf' is always true [knownConditionTrueFalse] bcftools-1.22/vcfnorm.c:195:19: warning: Either the condition '!ref' is redundant or there is possible null pointer dereference: seq. [nullPointerRedundantCheck] bcftools-1.22/vcfnorm.c:571:10: note: Assuming that condition '!ref' is not redundant bcftools-1.22/vcfnorm.c:572:18: note: Calling function 'seq_to_upper', 1st argument 'ref' value is 0 bcftools-1.22/vcfnorm.c:195:19: note: Null pointer dereference bcftools-1.22/vcfnorm.c:217:41: warning: Either the condition '!ref' is redundant or there is possible null pointer dereference: ref. [nullPointerRedundantCheck] bcftools-1.22/vcfnorm.c:211:10: note: Assuming that condition '!ref' is not redundant bcftools-1.22/vcfnorm.c:217:41: note: Null pointer dereference bcftools-1.22/vcfnorm.c:2543:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfnorm.c:2542:37: note: Assuming allocation function fails bcftools-1.22/vcfnorm.c:2542:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfnorm.c:2543:5: note: Null pointer dereference bcftools-1.22/vcfnorm.c:2543:27: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfnorm.c:2542:37: note: Assuming allocation function fails bcftools-1.22/vcfnorm.c:2542:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfnorm.c:2543:27: note: Null pointer dereference bcftools-1.22/vcfnorm.c:2544:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfnorm.c:2542:37: note: Assuming allocation function fails bcftools-1.22/vcfnorm.c:2542:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfnorm.c:2544:5: note: Null pointer dereference bcftools-1.22/vcfnorm.c:2545:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfnorm.c:2542:37: note: Assuming allocation function fails bcftools-1.22/vcfnorm.c:2542:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfnorm.c:2545:5: note: Null pointer dereference bcftools-1.22/vcfnorm.c:2546:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfnorm.c:2542:37: note: Assuming allocation function fails bcftools-1.22/vcfnorm.c:2542:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfnorm.c:2546:5: note: Null pointer dereference bcftools-1.22/vcfnorm.c:2547:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfnorm.c:2542:37: note: Assuming allocation function fails bcftools-1.22/vcfnorm.c:2542:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfnorm.c:2547:5: note: Null pointer dereference bcftools-1.22/vcfnorm.c:2548:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfnorm.c:2542:37: note: Assuming allocation function fails bcftools-1.22/vcfnorm.c:2542:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfnorm.c:2548:5: note: Null pointer dereference bcftools-1.22/vcfnorm.c:2549:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfnorm.c:2542:37: note: Assuming allocation function fails bcftools-1.22/vcfnorm.c:2542:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfnorm.c:2549:5: note: Null pointer dereference bcftools-1.22/vcfnorm.c:2550:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfnorm.c:2542:37: note: Assuming allocation function fails bcftools-1.22/vcfnorm.c:2542:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfnorm.c:2550:5: note: Null pointer dereference bcftools-1.22/vcfnorm.c:2551:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfnorm.c:2542:37: note: Assuming allocation function fails bcftools-1.22/vcfnorm.c:2542:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfnorm.c:2551:5: note: Null pointer dereference bcftools-1.22/vcfnorm.c:2552:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfnorm.c:2542:37: note: Assuming allocation function fails bcftools-1.22/vcfnorm.c:2542:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfnorm.c:2552:5: note: Null pointer dereference bcftools-1.22/vcfnorm.c:2553:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfnorm.c:2542:37: note: Assuming allocation function fails bcftools-1.22/vcfnorm.c:2542:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfnorm.c:2553:5: note: Null pointer dereference bcftools-1.22/vcfnorm.c:2554:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfnorm.c:2542:37: note: Assuming allocation function fails bcftools-1.22/vcfnorm.c:2542:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfnorm.c:2554:5: note: Null pointer dereference bcftools-1.22/vcfnorm.c:2557:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfnorm.c:2542:37: note: Assuming allocation function fails bcftools-1.22/vcfnorm.c:2542:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfnorm.c:2557:5: note: Null pointer dereference bcftools-1.22/vcfnorm.c:2558:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfnorm.c:2542:37: note: Assuming allocation function fails bcftools-1.22/vcfnorm.c:2542:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfnorm.c:2558:5: note: Null pointer dereference bcftools-1.22/vcfnorm.c:2561:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfnorm.c:2542:37: note: Assuming allocation function fails bcftools-1.22/vcfnorm.c:2542:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfnorm.c:2561:5: note: Null pointer dereference bcftools-1.22/vcfnorm.c:825:27: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] bcftools-1.22/vcfnorm.c:1123:27: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] bcftools-1.22/vcfnorm.c:1446:27: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] bcftools-1.22/vcfnorm.c:1761:27: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] bcftools-1.22/vcfnorm.c:340:15: style: Same expression used in consecutive assignments of 'nals' and 'nals_ori'. [duplicateAssignExpression] bcftools-1.22/vcfnorm.c:340:38: note: Same expression used in consecutive assignments of 'nals' and 'nals_ori'. bcftools-1.22/vcfnorm.c:340:15: note: Same expression used in consecutive assignments of 'nals' and 'nals_ori'. bcftools-1.22/vcfnorm.c:230:18: style: Local variable 'has_non_acgtn' shadows outer function [shadowFunction] bcftools-1.22/vcfnorm.c:177:19: note: Shadowed function bcftools-1.22/vcfnorm.c:230:18: note: Shadow local variable bcftools-1.22/vcfnorm.c:206:13: style: Local variable 'len' shadows outer variable [shadowVariable] bcftools-1.22/vcfnorm.c:203:31: note: Shadowed variable bcftools-1.22/vcfnorm.c:206:13: note: Shadow local variable bcftools-1.22/vcfnorm.c:254:17: style: Local variable 'len' shadows outer variable [shadowVariable] bcftools-1.22/vcfnorm.c:203:31: note: Shadowed variable bcftools-1.22/vcfnorm.c:254:17: note: Shadow local variable bcftools-1.22/vcfnorm.c:271:13: style: Local variable 'len' shadows outer variable [shadowVariable] bcftools-1.22/vcfnorm.c:203:31: note: Shadowed variable bcftools-1.22/vcfnorm.c:271:13: note: Shadow local variable bcftools-1.22/vcfnorm.c:152:21: style: Variable 'inf' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfnorm.c:179:11: style: Variable 'end' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfnorm.c:418:23: style: Variable 'tr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfnorm.c:834:65: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfnorm.c:1202:19: style: Variable 'se' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfnorm.c:1202:30: style: Variable 'sx' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfnorm.c:1527:18: style: Variable 'src' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfnorm.c:1811:57: style: Variable 'se' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfnorm.c:2001:36: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfnorm.c:2001:50: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfnorm.c:2117:49: style: Parameter 'ca' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfnorm.c:2563:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/vcfplugin.c:848:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfquery.c:74:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable header [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfquery.c:130:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfquery.c:191:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_SAMPLE [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfquery.c:233:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfquery.c:306:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfquery.c:94:13: warning: If memory allocation fails, then there is a possible null pointer dereference: samples [nullPointerOutOfMemory] bcftools-1.22/vcfquery.c:92:32: note: Assuming allocation function fails bcftools-1.22/vcfquery.c:92:19: note: Assignment 'samples=(int*)malloc(sizeof(int)*nsamples)', assigned value is 0 bcftools-1.22/vcfquery.c:94:13: note: Null pointer dereference bcftools-1.22/vcfquery.c:218:28: warning: If memory allocation fails, then there is a possible null pointer dereference: dst [nullPointerOutOfMemory] bcftools-1.22/vcfquery.c:216:33: note: Assuming allocation function fails bcftools-1.22/vcfquery.c:216:18: note: Assignment 'dst=(char**)malloc(sizeof(char*)*nsrc)', assigned value is 0 bcftools-1.22/vcfquery.c:218:28: note: Null pointer dereference bcftools-1.22/vcfquery.c:270:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfquery.c:269:36: note: Assuming allocation function fails bcftools-1.22/vcfquery.c:269:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfquery.c:270:5: note: Null pointer dereference bcftools-1.22/vcfquery.c:270:26: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfquery.c:269:36: note: Assuming allocation function fails bcftools-1.22/vcfquery.c:269:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfquery.c:270:26: note: Null pointer dereference bcftools-1.22/vcfquery.c:271:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfquery.c:269:36: note: Assuming allocation function fails bcftools-1.22/vcfquery.c:269:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfquery.c:271:5: note: Null pointer dereference bcftools-1.22/vcfquery.c:186:13: style: Local variable 'i' shadows outer variable [shadowVariable] bcftools-1.22/vcfquery.c:179:9: note: Shadowed variable bcftools-1.22/vcfquery.c:186:13: note: Shadow local variable bcftools-1.22/vcfquery.c:221:38: style: Parameter 'hdr' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfquery.c:276:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/vcfroh.c:144:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable header [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfroh.c:392:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KS_SEP_LINE [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfroh.c:533:148: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfroh.c:693:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfroh.c:778:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfroh.c:822:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfroh.c:828:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_FMT [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfroh.c:1058:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfroh.c:1074:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfroh.c:1176:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfroh.c:1129:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfroh.c:1128:37: note: Assuming allocation function fails bcftools-1.22/vcfroh.c:1128:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfroh.c:1129:5: note: Null pointer dereference bcftools-1.22/vcfroh.c:1129:27: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfroh.c:1128:37: note: Assuming allocation function fails bcftools-1.22/vcfroh.c:1128:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfroh.c:1129:27: note: Null pointer dereference bcftools-1.22/vcfroh.c:1130:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfroh.c:1128:37: note: Assuming allocation function fails bcftools-1.22/vcfroh.c:1128:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfroh.c:1130:5: note: Null pointer dereference bcftools-1.22/vcfroh.c:1131:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfroh.c:1128:37: note: Assuming allocation function fails bcftools-1.22/vcfroh.c:1128:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfroh.c:1131:5: note: Null pointer dereference bcftools-1.22/vcfroh.c:1132:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfroh.c:1128:37: note: Assuming allocation function fails bcftools-1.22/vcfroh.c:1128:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfroh.c:1132:5: note: Null pointer dereference bcftools-1.22/vcfroh.c:1133:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfroh.c:1128:37: note: Assuming allocation function fails bcftools-1.22/vcfroh.c:1128:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfroh.c:1133:5: note: Null pointer dereference bcftools-1.22/vcfroh.c:1195:41: style: Same expression on both sides of '||'. [duplicateExpression] bcftools-1.22/vcfroh.c:466:13: style: Variable 'args' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfroh.c:520:17: style: Variable 'fwd' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfroh.c:523:18: style: Variable 'vpath' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfroh.c:646:18: style: Variable 'vpath' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfroh.c:653:21: style: Variable 'pval' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfroh.c:661:44: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfroh.c:672:17: style: Variable 'str' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfroh.c:689:24: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfroh.c:722:17: style: Variable 'end' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfroh.c:775:32: style: Variable 'p' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfroh.c:776:32: style: Variable 'p' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfroh.c:777:32: style: Variable 'p' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfroh.c:818:27: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfroh.c:947:36: style: Variable 'p' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfroh.c:948:36: style: Variable 'p' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfroh.c:949:36: style: Variable 'p' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfroh.c:1138:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/vcfsom.c:87:7: error: There is an unknown macro here somewhere. Configuration is required. If open_file is a macro then please configure it. [unknownMacro] bcftools-1.22/vcfsort.c:93:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfsort.c:184:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfsort.c:229:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfsort.c:263:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfsort.c:380:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfsort.c:420:124: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfsort.c:458:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfsort.c:511:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_STR [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfsort.c:561:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_STR [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfsort.c:578:105: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfsort.c:682:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfsort.c:696:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfsort.c:751:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfsort.c:793:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfsort.c:684:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] bcftools-1.22/vcfsort.c:211:21: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: dest [nullPointerOutOfMemory] bcftools-1.22/vcfsort.c:456:35: note: Assuming allocation function fails bcftools-1.22/vcfsort.c:456:35: note: Assignment 'tmp=malloc(sizeof(*tmp)+rec->unpack_size[1]*sizeof(bcf1_t*))', assigned value is 0 bcftools-1.22/vcfsort.c:459:23: note: Calling function 'pack_bcf_data', 1st argument 'tmp' value is 0 bcftools-1.22/vcfsort.c:211:21: note: Null pointer dereference bcftools-1.22/vcfsort.c:212:22: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: dest [nullPointerOutOfMemory] bcftools-1.22/vcfsort.c:456:35: note: Assuming allocation function fails bcftools-1.22/vcfsort.c:456:35: note: Assignment 'tmp=malloc(sizeof(*tmp)+rec->unpack_size[1]*sizeof(bcf1_t*))', assigned value is 0 bcftools-1.22/vcfsort.c:459:23: note: Calling function 'pack_bcf_data', 1st argument 'tmp' value is 0 bcftools-1.22/vcfsort.c:212:22: note: Null pointer dereference bcftools-1.22/vcfsort.c:213:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: dest [nullPointerOutOfMemory] bcftools-1.22/vcfsort.c:456:35: note: Assuming allocation function fails bcftools-1.22/vcfsort.c:456:35: note: Assignment 'tmp=malloc(sizeof(*tmp)+rec->unpack_size[1]*sizeof(bcf1_t*))', assigned value is 0 bcftools-1.22/vcfsort.c:459:23: note: Calling function 'pack_bcf_data', 1st argument 'tmp' value is 0 bcftools-1.22/vcfsort.c:213:5: note: Null pointer dereference bcftools-1.22/vcfsort.c:214:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: dest [nullPointerOutOfMemory] bcftools-1.22/vcfsort.c:456:35: note: Assuming allocation function fails bcftools-1.22/vcfsort.c:456:35: note: Assignment 'tmp=malloc(sizeof(*tmp)+rec->unpack_size[1]*sizeof(bcf1_t*))', assigned value is 0 bcftools-1.22/vcfsort.c:459:23: note: Calling function 'pack_bcf_data', 1st argument 'tmp' value is 0 bcftools-1.22/vcfsort.c:214:5: note: Null pointer dereference bcftools-1.22/vcfsort.c:215:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: dest [nullPointerOutOfMemory] bcftools-1.22/vcfsort.c:456:35: note: Assuming allocation function fails bcftools-1.22/vcfsort.c:456:35: note: Assignment 'tmp=malloc(sizeof(*tmp)+rec->unpack_size[1]*sizeof(bcf1_t*))', assigned value is 0 bcftools-1.22/vcfsort.c:459:23: note: Calling function 'pack_bcf_data', 1st argument 'tmp' value is 0 bcftools-1.22/vcfsort.c:215:5: note: Null pointer dereference bcftools-1.22/vcfsort.c:229:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: dest [nullPointerOutOfMemory] bcftools-1.22/vcfsort.c:456:35: note: Assuming allocation function fails bcftools-1.22/vcfsort.c:456:35: note: Assignment 'tmp=malloc(sizeof(*tmp)+rec->unpack_size[1]*sizeof(bcf1_t*))', assigned value is 0 bcftools-1.22/vcfsort.c:459:23: note: Calling function 'pack_bcf_data', 1st argument 'tmp' value is 0 bcftools-1.22/vcfsort.c:229:9: note: Null pointer dereference bcftools-1.22/vcfsort.c:752:25: warning: Either the condition '!tmp' is redundant or there is possible null pointer dereference: tmp. [nullPointerRedundantCheck] bcftools-1.22/vcfsort.c:751:14: note: Assuming that condition '!tmp' is not redundant bcftools-1.22/vcfsort.c:752:25: note: Null pointer dereference bcftools-1.22/vcfsort.c:770:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfsort.c:769:37: note: Assuming allocation function fails bcftools-1.22/vcfsort.c:769:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfsort.c:770:5: note: Null pointer dereference bcftools-1.22/vcfsort.c:770:27: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfsort.c:769:37: note: Assuming allocation function fails bcftools-1.22/vcfsort.c:769:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfsort.c:770:27: note: Null pointer dereference bcftools-1.22/vcfsort.c:771:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfsort.c:769:37: note: Assuming allocation function fails bcftools-1.22/vcfsort.c:769:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfsort.c:771:5: note: Null pointer dereference bcftools-1.22/vcfsort.c:772:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfsort.c:769:37: note: Assuming allocation function fails bcftools-1.22/vcfsort.c:769:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfsort.c:772:5: note: Null pointer dereference bcftools-1.22/vcfsort.c:773:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfsort.c:769:37: note: Assuming allocation function fails bcftools-1.22/vcfsort.c:769:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfsort.c:773:5: note: Null pointer dereference bcftools-1.22/vcfsort.c:120:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfsort.c:121:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfsort.c:130:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfsort.c:131:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfsort.c:154:19: style: Variable 'a' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfsort.c:155:19: style: Variable 'b' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfsort.c:181:19: style: Variable 'a' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfsort.c:182:19: style: Variable 'b' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfsort.c:212:14: style: Variable 'start' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfsort.c:431:43: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfsort.c:750:15: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfsort.c:775:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/vcfsort.c:444:11: warning: Suspicious usage of 'sizeof' with a numeric constant as parameter. [sizeofwithnumericparameter] bcftools-1.22/vcfsort.c:445:11: warning: Suspicious usage of 'sizeof' with a numeric constant as parameter. [sizeofwithnumericparameter] bcftools-1.22/vcfsort.c:446:11: warning: Suspicious usage of 'sizeof' with a numeric constant as parameter. [sizeofwithnumericparameter] bcftools-1.22/vcfsort.c:447:11: warning: Suspicious usage of 'sizeof' with a numeric constant as parameter. [sizeofwithnumericparameter] bcftools-1.22/vcfstats.c:419:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_DT_ID [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfstats.c:444:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable header [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfstats.c:666:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_INFO [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfstats.c:728:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VCF_INDEL [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfstats.c:822:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_HT_REAL [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfstats.c:858:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VCF_SNP [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfstats.c:906:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int8_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfstats.c:923:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int8_vector_end [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfstats.c:932:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfstats.c:945:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VCF_SNP [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfstats.c:960:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcf_int8_missing [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfstats.c:994:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GT_UNKN [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfstats.c:1116:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GT_UNKN [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfstats.c:1279:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VCF_REF [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfstats.c:1316:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fname [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfstats.c:1367:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable header [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfstats.c:1876:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfstats.c:1934:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optional_argument [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfstats.c:1273:38: error: Array 'args->stats[3]' accessed at index -1, which is out of bounds. [negativeIndex] bcftools-1.22/vcfstats.c:1250:19: note: Assignment 'ret=0', assigned value is 0 bcftools-1.22/vcfstats.c:1251:20: note: Assuming condition is false bcftools-1.22/vcfstats.c:1273:38: note: Negative array index bcftools-1.22/vcfstats.c:1516:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/vcfstats.c:1516:17: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/vcfstats.c:1516:17: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/vcfstats.c:1516:17: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/vcfstats.c:1828:17: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bcftools-1.22/vcfstats.c:274:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] bcftools-1.22/vcfstats.c:273:46: note: Assuming allocation function fails bcftools-1.22/vcfstats.c:273:24: note: Assignment 'ctx=(struct indel_ctx_t*)calloc(1,sizeof(struct indel_ctx_t))', assigned value is 0 bcftools-1.22/vcfstats.c:274:5: note: Null pointer dereference bcftools-1.22/vcfstats.c:275:11: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] bcftools-1.22/vcfstats.c:273:46: note: Assuming allocation function fails bcftools-1.22/vcfstats.c:273:24: note: Assignment 'ctx=(struct indel_ctx_t*)calloc(1,sizeof(struct indel_ctx_t))', assigned value is 0 bcftools-1.22/vcfstats.c:275:11: note: Null pointer dereference bcftools-1.22/vcfstats.c:639:20: warning: Possible null pointer dereference: reader [nullPointer] bcftools-1.22/vcfstats.c:1248:28: note: Assignment 'reader=NULL', assigned value is 0 bcftools-1.22/vcfstats.c:1251:20: note: Assuming condition is false bcftools-1.22/vcfstats.c:1271:24: note: Calling function 'init_iaf', 2nd argument 'reader' value is 0 bcftools-1.22/vcfstats.c:639:20: note: Null pointer dereference bcftools-1.22/vcfstats.c:1915:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfstats.c:1914:36: note: Assuming allocation function fails bcftools-1.22/vcfstats.c:1914:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfstats.c:1915:5: note: Null pointer dereference bcftools-1.22/vcfstats.c:1916:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfstats.c:1914:36: note: Assuming allocation function fails bcftools-1.22/vcfstats.c:1914:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfstats.c:1916:5: note: Null pointer dereference bcftools-1.22/vcfstats.c:1916:26: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfstats.c:1914:36: note: Assuming allocation function fails bcftools-1.22/vcfstats.c:1914:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfstats.c:1916:26: note: Null pointer dereference bcftools-1.22/vcfstats.c:1917:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfstats.c:1914:36: note: Assuming allocation function fails bcftools-1.22/vcfstats.c:1914:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfstats.c:1917:5: note: Null pointer dereference bcftools-1.22/vcfstats.c:1917:23: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfstats.c:1914:36: note: Assuming allocation function fails bcftools-1.22/vcfstats.c:1914:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfstats.c:1917:23: note: Null pointer dereference bcftools-1.22/vcfstats.c:1917:43: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfstats.c:1914:36: note: Assuming allocation function fails bcftools-1.22/vcfstats.c:1914:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfstats.c:1917:43: note: Null pointer dereference bcftools-1.22/vcfstats.c:923:88: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] bcftools-1.22/vcfstats.c:924:90: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] bcftools-1.22/vcfstats.c:925:90: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] bcftools-1.22/vcfstats.c:960:92: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] bcftools-1.22/vcfstats.c:961:94: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] bcftools-1.22/vcfstats.c:962:94: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] bcftools-1.22/vcfstats.c:1170:13: style: Local variable 'is' shadows outer variable [shadowVariable] bcftools-1.22/vcfstats.c:1103:9: note: Shadowed variable bcftools-1.22/vcfstats.c:1170:13: note: Shadow local variable bcftools-1.22/vcfstats.c:1227:31: style: Local variable 'reader' shadows outer argument [shadowArgument] bcftools-1.22/vcfstats.c:1088:69: note: Shadowed argument bcftools-1.22/vcfstats.c:1227:31: note: Shadow local variable bcftools-1.22/vcfstats.c:1527:17: style: Local variable 'j' shadows outer variable [shadowVariable] bcftools-1.22/vcfstats.c:1349:12: note: Shadowed variable bcftools-1.22/vcfstats.c:1527:17: note: Shadow local variable bcftools-1.22/vcfstats.c:1821:21: style: Local variable 'j' shadows outer variable [shadowVariable] bcftools-1.22/vcfstats.c:1349:12: note: Shadowed variable bcftools-1.22/vcfstats.c:1821:21: note: Shadow local variable bcftools-1.22/vcfstats.c:1236:35: style: Clarify calculation precedence for '+' and '?'. [clarifyCalculation] bcftools-1.22/vcfstats.c:1414:70: style: Clarify calculation precedence for '+' and '?'. [clarifyCalculation] bcftools-1.22/vcfstats.c:1426:27: style: Clarify calculation precedence for '+' and '?'. [clarifyCalculation] bcftools-1.22/vcfstats.c:1648:26: style: Clarify calculation precedence for '+' and '?'. [clarifyCalculation] bcftools-1.22/vcfstats.c:1649:66: style: Clarify calculation precedence for '+' and '?'. [clarifyCalculation] bcftools-1.22/vcfstats.c:1650:66: style: Clarify calculation precedence for '+' and '?'. [clarifyCalculation] bcftools-1.22/vcfstats.c:1651:66: style: Clarify calculation precedence for '+' and '?'. [clarifyCalculation] bcftools-1.22/vcfstats.c:1683:95: style: Clarify calculation precedence for '+' and '?'. [clarifyCalculation] bcftools-1.22/vcfstats.c:1807:119: style: Clarify calculation precedence for '+' and '?'. [clarifyCalculation] bcftools-1.22/vcfstats.c:196:40: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfstats.c:221:43: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfstats.c:221:54: style: Parameter 'seq' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfstats.c:301:75: style: Parameter 'alt' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfstats.c:407:37: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfstats.c:892:34: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfstats.c:892:51: style: Parameter 'ad_fmt_ptr' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfstats.c:906:28: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfstats.c:907:28: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfstats.c:908:28: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfstats.c:914:52: style: Parameter 'ad_fmt_ptr' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfstats.c:923:28: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfstats.c:924:28: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfstats.c:925:28: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfstats.c:950:73: style: Parameter 'ad_fmt_ptr' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfstats.c:950:96: style: Parameter 'dp_fmt_ptr' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfstats.c:960:32: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfstats.c:961:32: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfstats.c:962:32: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfstats.c:981:32: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfstats.c:982:32: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfstats.c:983:32: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfstats.c:1227:31: style: Variable 'reader' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfstats.c:1370:18: style: Variable 'stats' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfstats.c:1470:18: style: Variable 'stats' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfstats.c:1526:27: style: Variable 'usr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfstats.c:1540:18: style: Variable 'stats' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfstats.c:1700:22: style: Variable 'stats' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfstats.c:1821:25: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfstats.c:1861:22: style: Variable 'stats' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfstats.c:1922:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/vcfstats.c:104:11: style: struct member 'stats_t::vaf' is never used. [unusedStructMember] bcftools-1.22/vcfview.c:90:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable header [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfview.c:277:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_FMT [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfview.c:342:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCF_UN_INFO [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfview.c:508:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfview.c:632:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bcftools-1.22/vcfview.c:464:18: style: Condition 'args->trim_star_allele' is always true [knownConditionTrueFalse] bcftools-1.22/vcfview.c:181:21: error: Common realloc mistake: 'type_list' nulled but not freed upon failure [memleakOnRealloc] bcftools-1.22/vcfview.c:189:9: error: Common realloc mistake: 'type_list' nulled but not freed upon failure [memleakOnRealloc] bcftools-1.22/vcfview.c:563:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfview.c:562:37: note: Assuming allocation function fails bcftools-1.22/vcfview.c:562:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfview.c:563:5: note: Null pointer dereference bcftools-1.22/vcfview.c:563:27: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfview.c:562:37: note: Assuming allocation function fails bcftools-1.22/vcfview.c:562:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfview.c:563:27: note: Null pointer dereference bcftools-1.22/vcfview.c:564:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfview.c:562:37: note: Assuming allocation function fails bcftools-1.22/vcfview.c:562:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfview.c:564:5: note: Null pointer dereference bcftools-1.22/vcfview.c:565:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfview.c:562:37: note: Assuming allocation function fails bcftools-1.22/vcfview.c:562:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfview.c:565:5: note: Null pointer dereference bcftools-1.22/vcfview.c:566:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfview.c:562:37: note: Assuming allocation function fails bcftools-1.22/vcfview.c:562:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfview.c:566:5: note: Null pointer dereference bcftools-1.22/vcfview.c:567:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfview.c:562:37: note: Assuming allocation function fails bcftools-1.22/vcfview.c:562:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfview.c:567:5: note: Null pointer dereference bcftools-1.22/vcfview.c:568:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfview.c:562:37: note: Assuming allocation function fails bcftools-1.22/vcfview.c:562:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfview.c:568:5: note: Null pointer dereference bcftools-1.22/vcfview.c:569:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfview.c:562:37: note: Assuming allocation function fails bcftools-1.22/vcfview.c:562:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfview.c:569:5: note: Null pointer dereference bcftools-1.22/vcfview.c:570:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfview.c:562:37: note: Assuming allocation function fails bcftools-1.22/vcfview.c:562:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfview.c:570:5: note: Null pointer dereference bcftools-1.22/vcfview.c:571:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfview.c:562:37: note: Assuming allocation function fails bcftools-1.22/vcfview.c:562:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfview.c:571:5: note: Null pointer dereference bcftools-1.22/vcfview.c:572:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfview.c:562:37: note: Assuming allocation function fails bcftools-1.22/vcfview.c:562:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfview.c:572:5: note: Null pointer dereference bcftools-1.22/vcfview.c:572:20: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfview.c:562:37: note: Assuming allocation function fails bcftools-1.22/vcfview.c:562:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfview.c:572:20: note: Null pointer dereference bcftools-1.22/vcfview.c:572:35: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfview.c:562:37: note: Assuming allocation function fails bcftools-1.22/vcfview.c:562:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfview.c:572:35: note: Null pointer dereference bcftools-1.22/vcfview.c:572:50: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfview.c:562:37: note: Assuming allocation function fails bcftools-1.22/vcfview.c:562:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfview.c:572:50: note: Null pointer dereference bcftools-1.22/vcfview.c:573:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfview.c:562:37: note: Assuming allocation function fails bcftools-1.22/vcfview.c:562:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfview.c:573:5: note: Null pointer dereference bcftools-1.22/vcfview.c:574:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] bcftools-1.22/vcfview.c:562:37: note: Assuming allocation function fails bcftools-1.22/vcfview.c:562:21: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfview.c:574:5: note: Null pointer dereference bcftools-1.22/vcfview.c:246:17: style: Local variable 'i' shadows outer variable [shadowVariable] bcftools-1.22/vcfview.c:89:9: note: Shadowed variable bcftools-1.22/vcfview.c:246:17: note: Shadow local variable bcftools-1.22/vcfview.c:793:19: style: Local variable 'tmp' shadows outer variable [shadowVariable] bcftools-1.22/vcfview.c:625:11: note: Shadowed variable bcftools-1.22/vcfview.c:793:19: note: Shadow local variable bcftools-1.22/vcfview.c:278:16: style: Variable 'fmt_ptr' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcfview.c:506:27: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcfview.c:577:26: style: Variable 'loptions' can be declared as const array [constVariable] bcftools-1.22/vcmp.c:122:42: style:inconclusive: Function 'vcmp_map_ARvalues' argument 2 names different: declaration 'number' definition 'n'. [funcArgNamesDifferent] bcftools-1.22/vcmp.h:59:42: note: Function 'vcmp_map_ARvalues' argument 2 names different: declaration 'number' definition 'n'. bcftools-1.22/vcmp.c:122:42: note: Function 'vcmp_map_ARvalues' argument 2 names different: declaration 'number' definition 'n'. bcftools-1.22/vcmp.c:59:11: style: Variable 'a' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcmp.c:59:22: style: Variable 'b' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcmp.c:87:30: style: Parameter 'vcmp' can be declared as pointer to const [constParameterPointer] bcftools-1.22/vcmp.c:92:15: style: Variable 'a' can be declared as pointer to const [constVariablePointer] bcftools-1.22/vcmp.c:92:29: style: Variable 'b' can be declared as pointer to const [constVariablePointer] bcftools-1.22/version.c:36:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCFTOOLS_VERSION [valueFlowBailoutIncompleteVar] bcftools-1.22/version.c:44:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bcftools-1.22/version.c:52:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bcftools-1.22/version.c:69:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hts_verbose [valueFlowBailoutIncompleteVar] bcftools-1.22/version.c:84:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTS_IDX_DELIM [valueFlowBailoutIncompleteVar] bcftools-1.22/version.c:97:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTS_IDX_DELIM [valueFlowBailoutIncompleteVar] bcftools-1.22/version.c:129:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTS_FMT_CSI [valueFlowBailoutIncompleteVar] bcftools-1.22/version.c:153:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vcf [valueFlowBailoutIncompleteVar] bcftools-1.22/version.c:183:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTS_FMT_CSI [valueFlowBailoutIncompleteVar] bcftools-1.22/version.c:84:23: style: Condition 'fname' is always true [knownConditionTrueFalse] bcftools-1.22/version.c:85:23: style: Condition 'fname' is always true [knownConditionTrueFalse] bcftools-1.22/version.c:153:9: style: Condition 'idx_fmt' is always true [knownConditionTrueFalse] bcftools-1.22/version.c:99:19: warning: Either the condition 'fname' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] bcftools-1.22/version.c:98:23: note: Assuming that condition 'fname' is not redundant bcftools-1.22/version.c:98:29: note: Assignment 'end=fname?fname+strlen(fname):fname', assigned value is 0 bcftools-1.22/version.c:99:19: note: Null pointer subtraction bcftools-1.22/version.c:94:67: style:inconclusive: Function 'set_wmode' argument 4 names different: declaration 'compression_level' definition 'clevel'. [funcArgNamesDifferent] bcftools-1.22/bcftools.h:68:67: note: Function 'set_wmode' argument 4 names different: declaration 'compression_level' definition 'clevel'. bcftools-1.22/version.c:94:67: note: Function 'set_wmode' argument 4 names different: declaration 'compression_level' definition 'clevel'. bcftools-1.22/version.c:34:27: style: Argument 'bcftools_version' shadows outer function [shadowFunction] bcftools-1.22/bcftools.h:43:7: note: Shadowed function bcftools-1.22/version.c:34:27: note: Shadow argument bcftools-1.22/version.c:101:48: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] bcftools-1.22/version.c:128:29: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] bcftools-1.22/version.c:151:11: style: Variable 'idx_suffix' can be declared as pointer to const [constVariablePointer] bcftools-1.22/HMM.c:95:5: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [ctunullpointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:135:20: note: Calling function hmm_init_states, 1st argument is null bcftools-1.22/HMM.c:95:5: note: Dereferencing argument hmm that is null bcftools-1.22/HMM.c:191:5: warning: If memory allocation fails, then there is a possible null pointer dereference: hmm [ctunullpointerOutOfMemory] bcftools-1.22/HMM.c:130:33: note: Assuming allocation function fails bcftools-1.22/HMM.c:130:18: note: Assignment 'hmm=(struct hmm_t*)calloc(1,sizeof(struct hmm_t))', assigned value is 0 bcftools-1.22/HMM.c:134:18: note: Calling function hmm_set_tprob, 1st argument is null bcftools-1.22/HMM.c:191:5: note: Dereferencing argument hmm that is null bcftools-1.22/extsort.c:49:1: error: Null pointer dereference: dat [ctunullpointer] bcftools-1.22/extsort.c:49:1: note: Calling function khp_heapify_blk, 2nd argument is null bcftools-1.22/extsort.c:49:1: note: Dereferencing argument dat that is null bcftools-1.22/extsort.c:65:17: error: Null pointer dereference: aptr [ctunullpointer] bcftools-1.22/extsort.c:49:1: note: Calling function khp_heapify_blk, 2nd argument is null bcftools-1.22/extsort.c:49:1: note: Calling function blk_is_smaller, 1st argument is null bcftools-1.22/extsort.c:65:17: note: Dereferencing argument aptr that is null bcftools-1.22/hclust.c:58:5: warning: If memory allocation fails, then there is a possible null pointer dereference: clust [ctunullpointerOutOfMemory] bcftools-1.22/hclust.c:128:41: note: Assuming allocation function fails bcftools-1.22/hclust.c:128:23: note: Assignment 'clust=(struct hclust_t*)calloc(1,sizeof(struct hclust_t))', assigned value is 0 bcftools-1.22/hclust.c:135:46: note: Calling function append_node, 1st argument is null bcftools-1.22/hclust.c:58:5: note: Dereferencing argument clust that is null bcftools-1.22/plugins/split-vep.c:500:18: warning: Null pointer dereference: str [ctunullpointer] bcftools-1.22/plugins/split-vep.c:798:24: note: Assuming allocation function fails bcftools-1.22/plugins/split-vep.c:798:24: note: Assignment 'expr=strdup(cnst_expr)', assigned value is 0 bcftools-1.22/plugins/split-vep.c:805:54: note: Calling function strdup_annot_prefix, 2nd argument is null bcftools-1.22/plugins/split-vep.c:524:15: note: Calling function sanitize_field_name, 1st argument is null bcftools-1.22/plugins/split-vep.c:500:18: note: Dereferencing argument str that is null bcftools-1.22/plugins/vrfs.c:429:14: error: Null pointer dereference: batch [ctunullpointer] bcftools-1.22/plugins/vrfs.c:886:22: note: Assignment 'batch=NULL', assigned value is 0 bcftools-1.22/plugins/vrfs.c:888:16: note: Assuming condition is false bcftools-1.22/plugins/vrfs.c:907:38: note: Calling function 'batch_profile_set_mean_var2', 2nd argument 'batch' value is 0 bcftools-1.22/plugins/vrfs.c:503:33: note: Calling function init_var2, 2nd argument is null bcftools-1.22/plugins/vrfs.c:429:14: note: Dereferencing argument batch that is null bcftools-1.22/plugins/vrfs.c:499:10: error: Null pointer dereference: batch [ctunullpointer] bcftools-1.22/plugins/vrfs.c:886:22: note: Assignment 'batch=NULL', assigned value is 0 bcftools-1.22/plugins/vrfs.c:888:16: note: Assuming condition is false bcftools-1.22/plugins/vrfs.c:907:32: note: Calling function batch_profile_set_mean_var2, 2nd argument is null bcftools-1.22/plugins/vrfs.c:499:10: note: Dereferencing argument batch that is null bcftools-1.22/plugins/vrfs.c:607:10: error: Null pointer dereference: batch [ctunullpointer] bcftools-1.22/plugins/vrfs.c:886:22: note: Assignment 'batch=NULL', assigned value is 0 bcftools-1.22/plugins/vrfs.c:888:16: note: Assuming condition is false bcftools-1.22/plugins/vrfs.c:908:16: note: Calling function write_batch, 2nd argument is null bcftools-1.22/plugins/vrfs.c:607:10: note: Dereferencing argument batch that is null bcftools-1.22/plugins/vrfs.c:864:10: error: Null pointer dereference: batch [ctunullpointer] bcftools-1.22/plugins/vrfs.c:886:22: note: Assignment 'batch=NULL', assigned value is 0 bcftools-1.22/plugins/vrfs.c:888:16: note: Assuming condition is false bcftools-1.22/plugins/vrfs.c:911:18: note: Calling function batch_destroy, 1st argument is null bcftools-1.22/plugins/vrfs.c:864:10: note: Dereferencing argument batch that is null bcftools-1.22/prob1.c:42:21: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [ctunullpointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:112:23: note: Calling function 'bcf_p1_init_prior', 1st argument 'ma' value is 0 bcftools-1.22/prob1.c:67:23: note: Calling function bcf_p1_indel_prior, 1st argument is null bcftools-1.22/prob1.c:42:21: note: Dereferencing argument ma that is null bcftools-1.22/prob1.c:66:29: warning: If memory allocation fails, then there is a possible null pointer dereference: ma [ctunullpointerOutOfMemory] bcftools-1.22/prob1.c:83:31: note: Assuming allocation function fails bcftools-1.22/prob1.c:83:10: note: Assignment 'ma=(struct bcf_p1aux_t*)calloc(1,sizeof(struct bcf_p1aux_t))', assigned value is 0 bcftools-1.22/prob1.c:112:22: note: Calling function bcf_p1_init_prior, 1st argument is null bcftools-1.22/prob1.c:66:29: note: Dereferencing argument ma that is null bcftools-1.22/read_consensus.c:72:10: error: Null pointer dereference: a [ctunullpointer] bcftools-1.22/read_consensus.c:75:1: note: Calling function khp_heapify_cvh, 2nd argument is null bcftools-1.22/read_consensus.c:75:1: note: Calling function cvar_not_preferred, 1st argument is null bcftools-1.22/read_consensus.c:72:10: note: Dereferencing argument a that is null bcftools-1.22/read_consensus.c:75:1: error: Null pointer dereference: dat [ctunullpointer] bcftools-1.22/read_consensus.c:75:1: note: Calling function khp_heapify_cvh, 2nd argument is null bcftools-1.22/read_consensus.c:75:1: note: Dereferencing argument dat that is null bcftools-1.22/read_consensus.c:121:17: warning: If memory allocation fails, then there is a possible null pointer dereference: rcns [ctunullpointerOutOfMemory] bcftools-1.22/read_consensus.c:218:44: note: Assuming allocation function fails bcftools-1.22/read_consensus.c:218:24: note: Assignment 'rcns=(struct read_cns_t*)calloc(1,sizeof(struct read_cns_t))', assigned value is 0 bcftools-1.22/read_consensus.c:223:21: note: Calling function init_arrays, 1st argument is null bcftools-1.22/read_consensus.c:121:17: note: Dereferencing argument rcns that is null bcftools-1.22/vcfgtcheck.c:101:5: warning: If memory allocation fails, then there is a possible null pointer dereference: args [ctunullpointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:1196:36: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:1196:20: note: Assignment 'args=(struct args_t*)calloc(1,sizeof(struct args_t))', assigned value is 0 bcftools-1.22/vcfgtcheck.c:1197:52: note: Calling function set_cwd, 1st argument is null bcftools-1.22/vcfgtcheck.c:101:5: note: Dereferencing argument args that is null bcftools-1.22/vcfsort.c:522:17: error: Null pointer dereference: aptr [ctunullpointer] bcftools-1.22/vcfsort.c:529:1: note: Calling function khp_heapify_blk, 2nd argument is null bcftools-1.22/vcfsort.c:529:1: note: Calling function blk_is_smaller, 1st argument is null bcftools-1.22/vcfsort.c:522:17: note: Dereferencing argument aptr that is null bcftools-1.22/vcfsort.c:529:1: error: Null pointer dereference: dat [ctunullpointer] bcftools-1.22/vcfsort.c:529:1: note: Calling function khp_heapify_blk, 2nd argument is null bcftools-1.22/vcfsort.c:529:1: note: Dereferencing argument dat that is null bcftools-1.22/vcfstats.c:639:20: error: Null pointer dereference: reader [ctunullpointer] bcftools-1.22/vcfstats.c:1248:28: note: Assignment 'reader=NULL', assigned value is 0 bcftools-1.22/vcfstats.c:1251:20: note: Assuming condition is false bcftools-1.22/vcfstats.c:1271:17: note: Calling function init_iaf, 2nd argument is null bcftools-1.22/vcfstats.c:639:20: note: Dereferencing argument reader that is null diff: head bcftools-1.22/HMM.c:204:66: style:inconclusive: Function 'hmm_set_tprob_func' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.20.0 bcftools-1.22/abuf.c:765:13: style: Local variable 'j' shadows outer variable [shadowVariable] bcftools-1.22/abuf.c:761:11: note: Shadowed declaration bcftools-1.22/abuf.c:765:13: note: Shadow variable head bcftools-1.22/abuf.c:765:13: style: Local variable 'j' shadows outer variable [shadowVariable] bcftools-1.22/abuf.c:761:11: note: Shadowed variable bcftools-1.22/abuf.c:765:13: note: Shadow local variable 2.20.0 bcftools-1.22/abuf.c:774:13: style: Local variable 'j' shadows outer variable [shadowVariable] bcftools-1.22/abuf.c:761:11: note: Shadowed declaration bcftools-1.22/abuf.c:774:13: note: Shadow variable head bcftools-1.22/abuf.c:774:13: style: Local variable 'j' shadows outer variable [shadowVariable] bcftools-1.22/abuf.c:761:11: note: Shadowed variable bcftools-1.22/abuf.c:774:13: note: Shadow local variable 2.20.0 bcftools-1.22/bam2bcf.c:1071:21: style: Local variable 'tmp' shadows outer variable [shadowVariable] bcftools-1.22/bam2bcf.c:975:21: note: Shadowed declaration bcftools-1.22/bam2bcf.c:1071:21: note: Shadow variable head bcftools-1.22/bam2bcf.c:1071:21: style: Local variable 'tmp' shadows outer variable [shadowVariable] bcftools-1.22/bam2bcf.c:975:21: note: Shadowed variable bcftools-1.22/bam2bcf.c:1071:21: note: Shadow local variable 2.20.0 bcftools-1.22/bam2bcf.c:1101:21: style: Local variable 'tmp' shadows outer variable [shadowVariable] bcftools-1.22/bam2bcf.c:975:21: note: Shadowed declaration bcftools-1.22/bam2bcf.c:1101:21: note: Shadow variable head bcftools-1.22/bam2bcf.c:1101:21: style: Local variable 'tmp' shadows outer variable [shadowVariable] bcftools-1.22/bam2bcf.c:975:21: note: Shadowed variable bcftools-1.22/bam2bcf.c:1101:21: note: Shadow local variable head bcftools-1.22/bin.c:88:28: style: Parameter 'bin' can be declared as pointer to const [constParameterPointer] 2.20.0 bcftools-1.22/consensus.c:735:13: style: Local variable 'ialt' shadows outer variable [shadowVariable] bcftools-1.22/consensus.c:605:9: note: Shadowed declaration bcftools-1.22/consensus.c:735:13: note: Shadow variable head bcftools-1.22/consensus.c:735:13: style: Local variable 'ialt' shadows outer variable [shadowVariable] bcftools-1.22/consensus.c:605:9: note: Shadowed variable bcftools-1.22/consensus.c:735:13: note: Shadow local variable head bcftools-1.22/convert.c:349:24: style: Local variable 'fmt' shadows outer argument [shadowArgument] bcftools-1.22/convert.c:341:78: note: Shadowed argument bcftools-1.22/convert.c:349:24: note: Shadow local variable 2.20.0 bcftools-1.22/convert.c:349:24: style: Local variable 'fmt' shadows outer argument [shadowArgument] bcftools-1.22/convert.c:341:78: note: Shadowed declaration bcftools-1.22/convert.c:349:24: note: Shadow variable head bcftools-1.22/dist.c:104:27: style: Parameter 'dist' can be declared as pointer to const [constParameterPointer] 2.20.0 bcftools-1.22/filter.c:4049:22: style: Local variable 'tmp' shadows outer variable [shadowVariable] bcftools-1.22/filter.c:3708:11: note: Shadowed declaration bcftools-1.22/filter.c:4049:22: note: Shadow variable head bcftools-1.22/filter.c:4049:22: style: Local variable 'tmp' shadows outer variable [shadowVariable] bcftools-1.22/filter.c:3708:11: note: Shadowed variable bcftools-1.22/filter.c:4049:22: note: Shadow local variable head bcftools-1.22/filter.c:525:42: style: Parameter 'atok' can be declared as pointer to const. However it seems that 'filters_cmp_bit_and' is a callback function, if 'atok' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/filter.c:3998:105: note: You might need to cast the function pointer here bcftools-1.22/filter.c:525:42: note: Parameter 'atok' can be declared as pointer to const head bcftools-1.22/filter.c:525:57: style: Parameter 'btok' can be declared as pointer to const. However it seems that 'filters_cmp_bit_and' is a callback function, if 'btok' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bcftools-1.22/filter.c:3998:105: note: You might need to cast the function pointer here bcftools-1.22/filter.c:525:57: note: Parameter 'btok' can be declared as pointer to const 2.20.0 bcftools-1.22/gvcf.c:67:23: error: Memory leak: gvcf.dp_range [memleak] head bcftools-1.22/hclust.c:266:17: style: Local variable 'node' shadows outer argument [shadowArgument] bcftools-1.22/hclust.c:252:35: note: Shadowed argument bcftools-1.22/hclust.c:266:17: note: Shadow local variable 2.20.0 bcftools-1.22/hclust.c:266:17: style: Local variable 'node' shadows outer argument [shadowArgument] bcftools-1.22/hclust.c:252:35: note: Shadowed declaration bcftools-1.22/hclust.c:266:17: note: Shadow variable head bcftools-1.22/kmin.c:109:40: style:inconclusive: Function 'kmin_brent' argument 2 names different: declaration '' definition 'a'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/kmin.c:109:50: style:inconclusive: Function 'kmin_brent' argument 3 names different: declaration '' definition 'b'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/kmin.c:109:59: style:inconclusive: Function 'kmin_brent' argument 4 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/kmin.c:109:72: style:inconclusive: Function 'kmin_brent' argument 5 names different: declaration '' definition 'tol'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/kmin.c:109:85: style:inconclusive: Function 'kmin_brent' argument 6 names different: declaration '' definition 'xmin'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/kmin.c:67:33: style:inconclusive: Function 'kmin_hj' argument 2 names different: declaration '' definition 'n'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/kmin.c:67:44: style:inconclusive: Function 'kmin_hj' argument 3 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/kmin.c:67:53: style:inconclusive: Function 'kmin_hj' argument 4 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/kmin.c:67:66: style:inconclusive: Function 'kmin_hj' argument 5 names different: declaration '' definition 'r'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/kmin.c:67:76: style:inconclusive: Function 'kmin_hj' argument 6 names different: declaration '' definition 'eps'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/kmin.c:67:85: style:inconclusive: Function 'kmin_hj' argument 7 names different: declaration '' definition 'max_calls'. [funcArgNamesDifferentUnnamed] 2.20.0 bcftools-1.22/mcall.c:1386:13: style: Local variable 'nsmpl' shadows outer variable [shadowVariable] bcftools-1.22/mcall.c:1334:9: note: Shadowed declaration bcftools-1.22/mcall.c:1386:13: note: Shadow variable head bcftools-1.22/mcall.c:1386:13: style: Local variable 'nsmpl' shadows outer variable [shadowVariable] bcftools-1.22/mcall.c:1334:9: note: Shadowed variable bcftools-1.22/mcall.c:1386:13: note: Shadow local variable 2.20.0 bcftools-1.22/mpileup.c:327:13: style: Local variable 'i' shadows outer variable [shadowVariable] bcftools-1.22/mpileup.c:317:9: note: Shadowed declaration bcftools-1.22/mpileup.c:327:13: note: Shadow variable head bcftools-1.22/mpileup.c:327:13: style: Local variable 'i' shadows outer variable [shadowVariable] bcftools-1.22/mpileup.c:317:9: note: Shadowed variable bcftools-1.22/mpileup.c:327:13: note: Shadow local variable head bcftools-1.22/mpileup.c:420:36: style: Parameter 'n_plp' can be declared as pointer to const [constParameterPointer] head bcftools-1.22/ploidy.c:234:31: style: Parameter 'ploidy' can be declared as pointer to const [constParameterPointer] head bcftools-1.22/ploidy.c:259:26: style: Parameter 'ploidy' can be declared as pointer to const [constParameterPointer] head bcftools-1.22/ploidy.c:264:26: style: Parameter 'ploidy' can be declared as pointer to const [constParameterPointer] head bcftools-1.22/plugins/ad-bias.c:97:28: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/ad-bias.c:67:8: note: Shadowed variable bcftools-1.22/plugins/ad-bias.c:97:28: note: Shadow argument head bcftools-1.22/plugins/color-chrs.c:156:26: style: Variable 'loptions' can be declared as const array [constVariable] head bcftools-1.22/plugins/color-chrs.c:215:35: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/color-chrs.c:110:15: note: Shadowed variable bcftools-1.22/plugins/color-chrs.c:215:35: note: Shadow argument head bcftools-1.22/plugins/color-chrs.c:290:40: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/color-chrs.c:110:15: note: Shadowed variable bcftools-1.22/plugins/color-chrs.c:290:40: note: Shadow argument head bcftools-1.22/plugins/color-chrs.c:446:28: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/color-chrs.c:110:15: note: Shadowed variable bcftools-1.22/plugins/color-chrs.c:446:28: note: Shadow argument head bcftools-1.22/plugins/contrast.c:187:31: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/contrast.c:77:8: note: Shadowed variable bcftools-1.22/plugins/contrast.c:187:31: note: Shadow argument 2.20.0 bcftools-1.22/plugins/contrast.c:246:15: style: Local variable 'tmp' shadows outer variable [shadowVariable] bcftools-1.22/plugins/contrast.c:190:12: note: Shadowed declaration bcftools-1.22/plugins/contrast.c:246:15: note: Shadow variable head bcftools-1.22/plugins/contrast.c:246:15: style: Local variable 'tmp' shadows outer variable [shadowVariable] bcftools-1.22/plugins/contrast.c:190:12: note: Shadowed variable bcftools-1.22/plugins/contrast.c:246:15: note: Shadow local variable head bcftools-1.22/plugins/contrast.c:258:34: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/contrast.c:77:8: note: Shadowed variable bcftools-1.22/plugins/contrast.c:258:34: note: Shadow argument head bcftools-1.22/plugins/contrast.c:313:35: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/contrast.c:77:8: note: Shadowed variable bcftools-1.22/plugins/contrast.c:313:35: note: Shadow argument 2.20.0 bcftools-1.22/plugins/contrast.c:465:13: style: Local variable 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/contrast.c:77:8: note: Shadowed declaration bcftools-1.22/plugins/contrast.c:465:13: note: Shadow variable head bcftools-1.22/plugins/contrast.c:465:13: style: Local variable 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/contrast.c:77:8: note: Shadowed variable bcftools-1.22/plugins/contrast.c:465:13: note: Shadow local variable head bcftools-1.22/plugins/fill-tags.c:159:28: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fill-tags.c:104:16: note: Shadowed variable bcftools-1.22/plugins/fill-tags.c:159:28: note: Shadow argument head bcftools-1.22/plugins/fill-tags.c:237:24: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fill-tags.c:104:16: note: Shadowed variable bcftools-1.22/plugins/fill-tags.c:237:24: note: Shadow argument head bcftools-1.22/plugins/fill-tags.c:289:29: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fill-tags.c:104:16: note: Shadowed variable bcftools-1.22/plugins/fill-tags.c:289:29: note: Shadow argument head bcftools-1.22/plugins/fill-tags.c:363:28: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fill-tags.c:104:16: note: Shadowed variable bcftools-1.22/plugins/fill-tags.c:363:28: note: Shadow argument 2.20.0 bcftools-1.22/plugins/fill-tags.c:440:15: style: Local variable 'tmp' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fill-tags.c:381:11: note: Shadowed declaration bcftools-1.22/plugins/fill-tags.c:440:15: note: Shadow variable head bcftools-1.22/plugins/fill-tags.c:440:15: style: Local variable 'tmp' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fill-tags.c:381:11: note: Shadowed variable bcftools-1.22/plugins/fill-tags.c:440:15: note: Shadow local variable head bcftools-1.22/plugins/fill-tags.c:468:24: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fill-tags.c:104:16: note: Shadowed variable bcftools-1.22/plugins/fill-tags.c:468:24: note: Shadow argument head bcftools-1.22/plugins/fill-tags.c:477:29: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fill-tags.c:104:16: note: Shadowed variable bcftools-1.22/plugins/fill-tags.c:477:29: note: Shadow argument head bcftools-1.22/plugins/fill-tags.c:621:23: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fill-tags.c:104:16: note: Shadowed variable bcftools-1.22/plugins/fill-tags.c:621:23: note: Shadow argument 2.20.0 bcftools-1.22/plugins/fixploidy.c:207:17: style: Local variable 'ploidy' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fixploidy.c:41:18: note: Shadowed declaration bcftools-1.22/plugins/fixploidy.c:207:17: note: Shadow variable head bcftools-1.22/plugins/fixploidy.c:207:17: style: Local variable 'ploidy' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fixploidy.c:41:18: note: Shadowed variable bcftools-1.22/plugins/fixploidy.c:207:17: note: Shadow local variable 2.20.0 bcftools-1.22/plugins/fixploidy.c:225:17: style: Local variable 'ploidy' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fixploidy.c:41:18: note: Shadowed declaration bcftools-1.22/plugins/fixploidy.c:225:17: note: Shadow variable head bcftools-1.22/plugins/fixploidy.c:225:17: style: Local variable 'ploidy' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fixploidy.c:41:18: note: Shadowed variable bcftools-1.22/plugins/fixploidy.c:225:17: note: Shadow local variable head bcftools-1.22/plugins/fixploidy.c:81:57: style: Argument 'ploidy' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fixploidy.c:41:18: note: Shadowed variable bcftools-1.22/plugins/fixploidy.c:81:57: note: Shadow argument head bcftools-1.22/plugins/fixploidy.c:81:70: style: Argument 'sample2sex' shadows outer variable [shadowVariable] bcftools-1.22/plugins/fixploidy.c:38:13: note: Shadowed variable bcftools-1.22/plugins/fixploidy.c:81:70: note: Shadow argument 2.20.0 bcftools-1.22/plugins/frameshifts.c:124:13: style: Local variable 'len' shadows outer variable [shadowVariable] bcftools-1.22/plugins/frameshifts.c:112:12: note: Shadowed declaration bcftools-1.22/plugins/frameshifts.c:124:13: note: Shadow variable head bcftools-1.22/plugins/frameshifts.c:124:13: style: Local variable 'len' shadows outer variable [shadowVariable] bcftools-1.22/plugins/frameshifts.c:112:12: note: Shadowed variable bcftools-1.22/plugins/frameshifts.c:124:13: note: Shadow local variable 2.20.0 bcftools-1.22/plugins/gvcfz.c:142:14: style: Local variable 'tmp' shadows outer variable [shadowVariable] bcftools-1.22/plugins/gvcfz.c:123:11: note: Shadowed declaration bcftools-1.22/plugins/gvcfz.c:142:14: note: Shadow variable head bcftools-1.22/plugins/gvcfz.c:142:14: style: Local variable 'tmp' shadows outer variable [shadowVariable] bcftools-1.22/plugins/gvcfz.c:123:11: note: Shadowed variable bcftools-1.22/plugins/gvcfz.c:142:14: note: Shadow local variable head bcftools-1.22/plugins/gvcfz.c:330:26: style: Variable 'loptions' can be declared as const array [constVariable] head bcftools-1.22/plugins/indel-stats.c:156:35: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/indel-stats.c:123:8: note: Shadowed variable bcftools-1.22/plugins/indel-stats.c:156:35: note: Shadow argument head bcftools-1.22/plugins/indel-stats.c:212:31: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/indel-stats.c:123:8: note: Shadowed variable bcftools-1.22/plugins/indel-stats.c:212:31: note: Shadow argument head bcftools-1.22/plugins/indel-stats.c:255:31: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/indel-stats.c:123:8: note: Shadowed variable bcftools-1.22/plugins/indel-stats.c:255:31: note: Shadow argument head bcftools-1.22/plugins/indel-stats.c:307:34: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/indel-stats.c:123:8: note: Shadowed variable bcftools-1.22/plugins/indel-stats.c:307:34: note: Shadow argument head bcftools-1.22/plugins/indel-stats.c:330:34: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/indel-stats.c:123:8: note: Shadowed variable bcftools-1.22/plugins/indel-stats.c:330:34: note: Shadow argument head bcftools-1.22/plugins/indel-stats.c:439:47: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/indel-stats.c:123:8: note: Shadowed variable bcftools-1.22/plugins/indel-stats.c:439:47: note: Shadow argument head bcftools-1.22/plugins/indel-stats.c:493:36: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/indel-stats.c:123:8: note: Shadowed variable bcftools-1.22/plugins/indel-stats.c:493:36: note: Shadow argument 2.20.0 bcftools-1.22/plugins/indel-stats.c:681:13: style: Local variable 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/indel-stats.c:123:8: note: Shadowed declaration bcftools-1.22/plugins/indel-stats.c:681:13: note: Shadow variable head bcftools-1.22/plugins/indel-stats.c:681:13: style: Local variable 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/indel-stats.c:123:8: note: Shadowed variable bcftools-1.22/plugins/indel-stats.c:681:13: note: Shadow local variable head bcftools-1.22/plugins/isecGT.c:83:26: style: Variable 'loptions' can be declared as const array [constVariable] head bcftools-1.22/plugins/mendelian2.c:681:17: style: Variable 'trio' can be declared as pointer to const [constVariablePointer] head bcftools-1.22/plugins/parental-origin.c:110:31: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/parental-origin.c:81:8: note: Shadowed variable bcftools-1.22/plugins/parental-origin.c:110:31: note: Shadow argument head bcftools-1.22/plugins/parental-origin.c:146:34: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/parental-origin.c:81:8: note: Shadowed variable bcftools-1.22/plugins/parental-origin.c:146:34: note: Shadow argument head bcftools-1.22/plugins/parental-origin.c:155:36: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/parental-origin.c:81:8: note: Shadowed variable bcftools-1.22/plugins/parental-origin.c:155:36: note: Shadow argument 2.20.0 bcftools-1.22/plugins/parental-origin.c:325:13: style: Local variable 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/parental-origin.c:81:8: note: Shadowed declaration bcftools-1.22/plugins/parental-origin.c:325:13: note: Shadow variable head bcftools-1.22/plugins/parental-origin.c:325:13: style: Local variable 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/parental-origin.c:81:8: note: Shadowed variable bcftools-1.22/plugins/parental-origin.c:325:13: note: Shadow local variable 2.20.0 bcftools-1.22/plugins/scatter.c:299:19: style: Local variable 'set' shadows outer variable [shadowVariable] bcftools-1.22/plugins/scatter.c:296:15: note: Shadowed declaration bcftools-1.22/plugins/scatter.c:299:19: note: Shadow variable head bcftools-1.22/plugins/scatter.c:299:19: style: Local variable 'set' shadows outer variable [shadowVariable] bcftools-1.22/plugins/scatter.c:296:15: note: Shadowed variable bcftools-1.22/plugins/scatter.c:299:19: note: Shadow local variable head bcftools-1.22/plugins/setGT.c:160:31: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/setGT.c:70:9: note: Shadowed variable bcftools-1.22/plugins/setGT.c:160:31: note: Shadow argument head bcftools-1.22/plugins/setGT.c:399:41: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/setGT.c:70:9: note: Shadowed variable bcftools-1.22/plugins/setGT.c:399:41: note: Shadow argument head bcftools-1.22/plugins/setGT.c:425:39: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/setGT.c:70:9: note: Shadowed variable bcftools-1.22/plugins/setGT.c:425:39: note: Shadow argument head bcftools-1.22/plugins/smpl-stats.c:114:35: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/smpl-stats.c:86:8: note: Shadowed variable bcftools-1.22/plugins/smpl-stats.c:114:35: note: Shadow argument head bcftools-1.22/plugins/smpl-stats.c:155:31: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/smpl-stats.c:86:8: note: Shadowed variable bcftools-1.22/plugins/smpl-stats.c:155:31: note: Shadow argument head bcftools-1.22/plugins/smpl-stats.c:198:34: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/smpl-stats.c:86:8: note: Shadowed variable bcftools-1.22/plugins/smpl-stats.c:198:34: note: Shadow argument head bcftools-1.22/plugins/smpl-stats.c:215:34: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/smpl-stats.c:86:8: note: Shadowed variable bcftools-1.22/plugins/smpl-stats.c:215:34: note: Shadow argument head bcftools-1.22/plugins/smpl-stats.c:307:36: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/smpl-stats.c:86:8: note: Shadowed variable bcftools-1.22/plugins/smpl-stats.c:307:36: note: Shadow argument 2.20.0 bcftools-1.22/plugins/smpl-stats.c:433:13: style: Local variable 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/smpl-stats.c:86:8: note: Shadowed declaration bcftools-1.22/plugins/smpl-stats.c:433:13: note: Shadow variable head bcftools-1.22/plugins/smpl-stats.c:433:13: style: Local variable 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/smpl-stats.c:86:8: note: Shadowed variable bcftools-1.22/plugins/smpl-stats.c:433:13: note: Shadow local variable head bcftools-1.22/plugins/split-vep.c:1038:34: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:1038:34: note: Shadow argument head bcftools-1.22/plugins/split-vep.c:1086:33: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:1086:33: note: Shadow argument head bcftools-1.22/plugins/split-vep.c:1092:37: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:1092:37: note: Shadow argument head bcftools-1.22/plugins/split-vep.c:1145:38: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:1145:38: note: Shadow argument head bcftools-1.22/plugins/split-vep.c:1156:44: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:1156:44: note: Shadow argument head bcftools-1.22/plugins/split-vep.c:1185:41: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:1185:41: note: Shadow argument head bcftools-1.22/plugins/split-vep.c:1279:39: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:1279:39: note: Shadow argument head bcftools-1.22/plugins/split-vep.c:1326:44: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:1326:44: note: Shadow argument head bcftools-1.22/plugins/split-vep.c:1371:33: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:1371:33: note: Shadow argument head bcftools-1.22/plugins/split-vep.c:1401:38: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:1401:38: note: Shadow argument head bcftools-1.22/plugins/split-vep.c:1444:36: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:1444:36: note: Shadow argument 2.20.0 bcftools-1.22/plugins/split-vep.c:1544:13: style: Local variable 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed declaration bcftools-1.22/plugins/split-vep.c:1544:13: note: Shadow variable head bcftools-1.22/plugins/split-vep.c:1544:13: style: Local variable 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:1544:13: note: Shadow local variable head bcftools-1.22/plugins/split-vep.c:1552:26: style: Variable 'loptions' can be declared as const array [constVariable] head bcftools-1.22/plugins/split-vep.c:319:35: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:319:35: note: Shadow argument head bcftools-1.22/plugins/split-vep.c:334:43: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:334:43: note: Shadow argument head bcftools-1.22/plugins/split-vep.c:367:38: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:367:38: note: Shadow argument 2.20.0 bcftools-1.22/plugins/split-vep.c:384:13: error: Common realloc mistake: 'type' nulled but not freed upon failure [memleakOnRealloc] head bcftools-1.22/plugins/split-vep.c:424:41: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:424:41: note: Shadow argument head bcftools-1.22/plugins/split-vep.c:437:44: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:437:44: note: Shadow argument head bcftools-1.22/plugins/split-vep.c:519:35: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:519:35: note: Shadow argument head bcftools-1.22/plugins/split-vep.c:536:36: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:536:36: note: Shadow argument head bcftools-1.22/plugins/split-vep.c:570:38: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:570:38: note: Shadow argument head bcftools-1.22/plugins/split-vep.c:602:38: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:602:38: note: Shadow argument head bcftools-1.22/plugins/split-vep.c:763:38: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:763:38: note: Shadow argument head bcftools-1.22/plugins/split-vep.c:796:34: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:796:34: note: Shadow argument head bcftools-1.22/plugins/split-vep.c:860:31: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:157:8: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:860:31: note: Shadow argument 2.20.0 bcftools-1.22/plugins/split-vep.c:991:13: style: Local variable 'severity' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:931:9: note: Shadowed declaration bcftools-1.22/plugins/split-vep.c:991:13: note: Shadow variable head bcftools-1.22/plugins/split-vep.c:991:13: style: Local variable 'severity' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split-vep.c:931:9: note: Shadowed variable bcftools-1.22/plugins/split-vep.c:991:13: note: Shadow local variable 2.20.0 bcftools-1.22/plugins/split.c:429:13: style: Local variable 'j' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split.c:384:11: note: Shadowed declaration bcftools-1.22/plugins/split.c:429:13: note: Shadow variable head bcftools-1.22/plugins/split.c:429:13: style: Local variable 'j' shadows outer variable [shadowVariable] bcftools-1.22/plugins/split.c:384:11: note: Shadowed variable bcftools-1.22/plugins/split.c:429:13: note: Shadow local variable head bcftools-1.22/plugins/split.c:586:55: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] head bcftools-1.22/plugins/tag2tag.c:125:41: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/tag2tag.c:76:16: note: Shadowed variable bcftools-1.22/plugins/tag2tag.c:125:41: note: Shadow argument head bcftools-1.22/plugins/tag2tag.c:195:29: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/tag2tag.c:76:16: note: Shadowed variable bcftools-1.22/plugins/tag2tag.c:195:29: note: Shadow argument head bcftools-1.22/plugins/trio-dnm2.c:1147:47: style: Parameter 'trio' can be declared as pointer to const [constParameterPointer] head bcftools-1.22/plugins/trio-dnm2.c:1159:47: style: Parameter 'trio' can be declared as pointer to const [constParameterPointer] head bcftools-1.22/plugins/trio-dnm2.c:1169:53: style: Parameter 'trio' can be declared as pointer to const [constParameterPointer] head bcftools-1.22/plugins/trio-dnm2.c:1270:46: style: Parameter 'trio' can be declared as pointer to const [constParameterPointer] head bcftools-1.22/plugins/trio-dnm2.c:1294:56: style: Parameter 'trio' can be declared as pointer to const [constParameterPointer] head bcftools-1.22/plugins/trio-dnm2.c:875:56: style: Parameter 'priors' can be declared as pointer to const [constParameterPointer] head bcftools-1.22/plugins/trio-dnm2.c:994:56: style: Parameter 'priors' can be declared as pointer to const [constParameterPointer] head bcftools-1.22/plugins/trio-stats.c:168:31: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/trio-stats.c:118:8: note: Shadowed variable bcftools-1.22/plugins/trio-stats.c:168:31: note: Shadow argument head bcftools-1.22/plugins/trio-stats.c:232:35: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/trio-stats.c:118:8: note: Shadowed variable bcftools-1.22/plugins/trio-stats.c:232:35: note: Shadow argument head bcftools-1.22/plugins/trio-stats.c:273:31: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/trio-stats.c:118:8: note: Shadowed variable bcftools-1.22/plugins/trio-stats.c:273:31: note: Shadow argument head bcftools-1.22/plugins/trio-stats.c:367:37: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/trio-stats.c:118:8: note: Shadowed variable bcftools-1.22/plugins/trio-stats.c:367:37: note: Shadow argument head bcftools-1.22/plugins/trio-stats.c:385:39: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/trio-stats.c:118:8: note: Shadowed variable bcftools-1.22/plugins/trio-stats.c:385:39: note: Shadow argument head bcftools-1.22/plugins/trio-stats.c:396:42: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/trio-stats.c:118:8: note: Shadowed variable bcftools-1.22/plugins/trio-stats.c:396:42: note: Shadow argument head bcftools-1.22/plugins/trio-stats.c:402:34: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/trio-stats.c:118:8: note: Shadowed variable bcftools-1.22/plugins/trio-stats.c:402:34: note: Shadow argument head bcftools-1.22/plugins/trio-stats.c:424:34: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/trio-stats.c:118:8: note: Shadowed variable bcftools-1.22/plugins/trio-stats.c:424:34: note: Shadow argument head bcftools-1.22/plugins/trio-stats.c:473:36: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/trio-stats.c:118:8: note: Shadowed variable bcftools-1.22/plugins/trio-stats.c:473:36: note: Shadow argument 2.20.0 bcftools-1.22/plugins/trio-stats.c:711:13: style: Local variable 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/trio-stats.c:118:8: note: Shadowed declaration bcftools-1.22/plugins/trio-stats.c:711:13: note: Shadow variable head bcftools-1.22/plugins/trio-stats.c:711:13: style: Local variable 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/trio-stats.c:118:8: note: Shadowed variable bcftools-1.22/plugins/trio-stats.c:711:13: note: Shadow local variable head bcftools-1.22/plugins/trio-switch-rate.c:93:24: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/trio-switch-rate.c:68:8: note: Shadowed variable bcftools-1.22/plugins/trio-switch-rate.c:93:24: note: Shadow argument head bcftools-1.22/plugins/vcf2table.c:225:44: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/vcf2table.c:157:15: note: Shadowed variable bcftools-1.22/plugins/vcf2table.c:225:44: note: Shadow argument head bcftools-1.22/plugins/vcf2table.c:499:38: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] head bcftools-1.22/plugins/vcf2table.c:508:33: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/vcf2table.c:157:15: note: Shadowed variable bcftools-1.22/plugins/vcf2table.c:508:33: note: Shadow argument head bcftools-1.22/plugins/vcf2table.c:523:46: style: Argument 'args' shadows outer variable [shadowVariable] bcftools-1.22/plugins/vcf2table.c:157:15: note: Shadowed variable bcftools-1.22/plugins/vcf2table.c:523:46: note: Shadow argument 2.20.0 bcftools-1.22/plugins/vcf2table.c:552:12: style: Local variable 'x' shadows outer variable [shadowVariable] bcftools-1.22/plugins/vcf2table.c:524:19: note: Shadowed declaration bcftools-1.22/plugins/vcf2table.c:552:12: note: Shadow variable head bcftools-1.22/plugins/vcf2table.c:552:12: style: Local variable 'x' shadows outer variable [shadowVariable] bcftools-1.22/plugins/vcf2table.c:524:19: note: Shadowed variable bcftools-1.22/plugins/vcf2table.c:552:12: note: Shadow local variable 2.20.0 bcftools-1.22/plugins/vcf2table.c:563:12: style: Local variable 'x' shadows outer variable [shadowVariable] bcftools-1.22/plugins/vcf2table.c:524:19: note: Shadowed declaration bcftools-1.22/plugins/vcf2table.c:563:12: note: Shadow variable head bcftools-1.22/plugins/vcf2table.c:563:12: style: Local variable 'x' shadows outer variable [shadowVariable] bcftools-1.22/plugins/vcf2table.c:524:19: note: Shadowed variable bcftools-1.22/plugins/vcf2table.c:563:12: note: Shadow local variable head bcftools-1.22/plugins/vrfs.c:544:35: style: Parameter 'batch' can be declared as pointer to const [constParameterPointer] head bcftools-1.22/regidx.c:198:119: style:inconclusive: Function 'regidx_init_string' argument 5 names different: declaration '' definition 'usr_dat'. [funcArgNamesDifferentUnnamed] 2.20.0 bcftools-1.22/regidx.c:198:119: style:inconclusive: Function 'regidx_init_string' argument 5 names different: declaration 'usr' definition 'usr_dat'. [funcArgNamesDifferent] bcftools-1.22/regidx.h:136:121: note: Function 'regidx_init_string' argument 5 names different: declaration 'usr' definition 'usr_dat'. bcftools-1.22/regidx.c:198:119: note: Function 'regidx_init_string' argument 5 names different: declaration 'usr' definition 'usr_dat'. head bcftools-1.22/regidx.c:198:62: style:inconclusive: Function 'regidx_init_string' argument 2 names different: declaration 'parsef' definition 'parser'. [funcArgNamesDifferent] bcftools-1.22/regidx.h:136:65: note: Function 'regidx_init_string' argument 2 names different: declaration 'parsef' definition 'parser'. bcftools-1.22/regidx.c:198:62: note: Function 'regidx_init_string' argument 2 names different: declaration 'parsef' definition 'parser'. head bcftools-1.22/regidx.c:198:84: style:inconclusive: Function 'regidx_init_string' argument 3 names different: declaration '' definition 'free_f'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:198:99: style:inconclusive: Function 'regidx_init_string' argument 4 names different: declaration '' definition 'payload_size'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:245:114: style:inconclusive: Function 'regidx_init' argument 5 names different: declaration '' definition 'usr_dat'. [funcArgNamesDifferentUnnamed] 2.20.0 bcftools-1.22/regidx.c:245:114: style:inconclusive: Function 'regidx_init' argument 5 names different: declaration 'usr' definition 'usr_dat'. [funcArgNamesDifferent] bcftools-1.22/regidx.h:135:113: note: Function 'regidx_init' argument 5 names different: declaration 'usr' definition 'usr_dat'. bcftools-1.22/regidx.c:245:114: note: Function 'regidx_init' argument 5 names different: declaration 'usr' definition 'usr_dat'. head bcftools-1.22/regidx.c:245:57: style:inconclusive: Function 'regidx_init' argument 2 names different: declaration 'parsef' definition 'parser'. [funcArgNamesDifferent] bcftools-1.22/regidx.h:135:57: note: Function 'regidx_init' argument 2 names different: declaration 'parsef' definition 'parser'. bcftools-1.22/regidx.c:245:57: note: Function 'regidx_init' argument 2 names different: declaration 'parsef' definition 'parser'. head bcftools-1.22/regidx.c:245:79: style:inconclusive: Function 'regidx_init' argument 3 names different: declaration '' definition 'free_f'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:245:94: style:inconclusive: Function 'regidx_init' argument 4 names different: declaration '' definition 'payload_size'. [funcArgNamesDifferentUnnamed] 2.20.0 bcftools-1.22/regidx.c:342:27: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] bcftools-1.22/regidx.c:335:39: note: Assuming allocation function fails bcftools-1.22/regidx.c:335:23: note: Assignment 'ptr=(struct reg_t**)malloc(sizeof(struct reg_t*)*list->nreg)', assigned value is 0 bcftools-1.22/regidx.c:342:27: note: Null pointer dereference 2.20.0 bcftools-1.22/regidx.c:353:27: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] bcftools-1.22/regidx.c:335:39: note: Assuming allocation function fails bcftools-1.22/regidx.c:335:23: note: Assignment 'ptr=(struct reg_t**)malloc(sizeof(struct reg_t*)*list->nreg)', assigned value is 0 bcftools-1.22/regidx.c:353:27: note: Null pointer dereference head bcftools-1.22/regidx.c:476:108: style:inconclusive: Function 'regidx_parse_bed' argument 6 names different: declaration '' definition 'payload'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:476:123: style:inconclusive: Function 'regidx_parse_bed' argument 7 names different: declaration '' definition 'usr'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:476:34: style:inconclusive: Function 'regidx_parse_bed' argument 1 names different: declaration '' definition 'line'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:476:47: style:inconclusive: Function 'regidx_parse_bed' argument 2 names different: declaration '' definition 'chr_beg'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:476:63: style:inconclusive: Function 'regidx_parse_bed' argument 3 names different: declaration '' definition 'chr_end'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:476:82: style:inconclusive: Function 'regidx_parse_bed' argument 4 names different: declaration '' definition 'beg'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:476:97: style:inconclusive: Function 'regidx_parse_bed' argument 5 names different: declaration '' definition 'end'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:508:108: style:inconclusive: Function 'regidx_parse_tab' argument 6 names different: declaration '' definition 'payload'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:508:123: style:inconclusive: Function 'regidx_parse_tab' argument 7 names different: declaration '' definition 'usr'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:508:34: style:inconclusive: Function 'regidx_parse_tab' argument 1 names different: declaration '' definition 'line'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:508:47: style:inconclusive: Function 'regidx_parse_tab' argument 2 names different: declaration '' definition 'chr_beg'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:508:63: style:inconclusive: Function 'regidx_parse_tab' argument 3 names different: declaration '' definition 'chr_end'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:508:82: style:inconclusive: Function 'regidx_parse_tab' argument 4 names different: declaration '' definition 'beg'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:508:97: style:inconclusive: Function 'regidx_parse_tab' argument 5 names different: declaration '' definition 'end'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:548:108: style:inconclusive: Function 'regidx_parse_vcf' argument 6 names different: declaration '' definition 'payload'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:548:123: style:inconclusive: Function 'regidx_parse_vcf' argument 7 names different: declaration '' definition 'usr'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:548:34: style:inconclusive: Function 'regidx_parse_vcf' argument 1 names different: declaration '' definition 'line'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:548:47: style:inconclusive: Function 'regidx_parse_vcf' argument 2 names different: declaration '' definition 'chr_beg'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:548:63: style:inconclusive: Function 'regidx_parse_vcf' argument 3 names different: declaration '' definition 'chr_end'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:548:82: style:inconclusive: Function 'regidx_parse_vcf' argument 4 names different: declaration '' definition 'beg'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:548:97: style:inconclusive: Function 'regidx_parse_vcf' argument 5 names different: declaration '' definition 'end'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:555:108: style:inconclusive: Function 'regidx_parse_reg' argument 6 names different: declaration '' definition 'payload'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:555:123: style:inconclusive: Function 'regidx_parse_reg' argument 7 names different: declaration '' definition 'usr'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:555:34: style:inconclusive: Function 'regidx_parse_reg' argument 1 names different: declaration '' definition 'line'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:555:47: style:inconclusive: Function 'regidx_parse_reg' argument 2 names different: declaration '' definition 'chr_beg'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:555:63: style:inconclusive: Function 'regidx_parse_reg' argument 3 names different: declaration '' definition 'chr_end'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:555:82: style:inconclusive: Function 'regidx_parse_reg' argument 4 names different: declaration '' definition 'beg'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/regidx.c:555:97: style:inconclusive: Function 'regidx_parse_reg' argument 5 names different: declaration '' definition 'end'. [funcArgNamesDifferentUnnamed] head bcftools-1.22/tsv2vcf.c:62:73: style:inconclusive: Function 'tsv_register' argument 4 names different: declaration '' definition 'usr'. [funcArgNamesDifferentUnnamed] 2.20.0 bcftools-1.22/vcfbuf.c:449:17: style: Local variable 'k1' shadows outer variable [shadowVariable] bcftools-1.22/vcfbuf.c:437:13: note: Shadowed declaration bcftools-1.22/vcfbuf.c:449:17: note: Shadow variable head bcftools-1.22/vcfbuf.c:449:17: style: Local variable 'k1' shadows outer variable [shadowVariable] bcftools-1.22/vcfbuf.c:437:13: note: Shadowed variable bcftools-1.22/vcfbuf.c:449:17: note: Shadow local variable 2.20.0 bcftools-1.22/vcfbuf.c:450:17: style: Local variable 'k2' shadows outer variable [shadowVariable] bcftools-1.22/vcfbuf.c:438:13: note: Shadowed declaration bcftools-1.22/vcfbuf.c:450:17: note: Shadow variable head bcftools-1.22/vcfbuf.c:450:17: style: Local variable 'k2' shadows outer variable [shadowVariable] bcftools-1.22/vcfbuf.c:438:13: note: Shadowed variable bcftools-1.22/vcfbuf.c:450:17: note: Shadow local variable 2.20.0 bcftools-1.22/vcfbuf.c:741:17: style: Local variable 'b' shadows outer variable [shadowVariable] bcftools-1.22/vcfbuf.c:728:9: note: Shadowed declaration bcftools-1.22/vcfbuf.c:741:17: note: Shadow variable head bcftools-1.22/vcfbuf.c:741:17: style: Local variable 'b' shadows outer variable [shadowVariable] bcftools-1.22/vcfbuf.c:728:9: note: Shadowed variable bcftools-1.22/vcfbuf.c:741:17: note: Shadow local variable 2.20.0 bcftools-1.22/vcfbuf.c:742:17: style: Local variable 'e' shadows outer variable [shadowVariable] bcftools-1.22/vcfbuf.c:729:9: note: Shadowed declaration bcftools-1.22/vcfbuf.c:742:17: note: Shadow variable head bcftools-1.22/vcfbuf.c:742:17: style: Local variable 'e' shadows outer variable [shadowVariable] bcftools-1.22/vcfbuf.c:729:9: note: Shadowed variable bcftools-1.22/vcfbuf.c:742:17: note: Shadow local variable 2.20.0 bcftools-1.22/vcfcall.c:1201:16: style: Local variable 'is_indel' shadows outer function [shadowFunction] bcftools-1.22/vcfcall.c:514:19: note: Shadowed declaration bcftools-1.22/vcfcall.c:1201:16: note: Shadow variable head bcftools-1.22/vcfcall.c:1201:16: style: Local variable 'is_indel' shadows outer function [shadowFunction] bcftools-1.22/vcfcall.c:514:19: note: Shadowed function bcftools-1.22/vcfcall.c:1201:16: note: Shadow local variable 2.20.0 bcftools-1.22/vcfconcat.c:202:19: style: Local variable 'str' shadows outer variable [shadowVariable] bcftools-1.22/vcfconcat.c:95:15: note: Shadowed declaration bcftools-1.22/vcfconcat.c:202:19: note: Shadow variable head bcftools-1.22/vcfconcat.c:202:19: style: Local variable 'str' shadows outer variable [shadowVariable] bcftools-1.22/vcfconcat.c:95:15: note: Shadowed variable bcftools-1.22/vcfconcat.c:202:19: note: Shadow local variable 2.20.0 bcftools-1.22/vcfconvert.c:1056:13: style: Local variable 'i' shadows outer variable [shadowVariable] bcftools-1.22/vcfconvert.c:1015:22: note: Shadowed declaration bcftools-1.22/vcfconvert.c:1056:13: note: Shadow variable head bcftools-1.22/vcfconvert.c:1056:13: style: Local variable 'i' shadows outer variable [shadowVariable] bcftools-1.22/vcfconvert.c:1015:22: note: Shadowed variable bcftools-1.22/vcfconvert.c:1056:13: note: Shadow local variable 2.20.0 bcftools-1.22/vcfconvert.c:1203:13: style: Local variable 'i' shadows outer variable [shadowVariable] bcftools-1.22/vcfconvert.c:1168:22: note: Shadowed declaration bcftools-1.22/vcfconvert.c:1203:13: note: Shadow variable head bcftools-1.22/vcfconvert.c:1203:13: style: Local variable 'i' shadows outer variable [shadowVariable] bcftools-1.22/vcfconvert.c:1168:22: note: Shadowed variable bcftools-1.22/vcfconvert.c:1203:13: note: Shadow local variable head bcftools-1.22/vcfconvert.c:751:11: style: Variable 'sc' can be declared as pointer to const [constVariablePointer] 2.20.0 bcftools-1.22/vcfconvert.c:931:13: style: Local variable 'i' shadows outer variable [shadowVariable] bcftools-1.22/vcfconvert.c:896:22: note: Shadowed declaration bcftools-1.22/vcfconvert.c:931:13: note: Shadow variable head bcftools-1.22/vcfconvert.c:931:13: style: Local variable 'i' shadows outer variable [shadowVariable] bcftools-1.22/vcfconvert.c:896:22: note: Shadowed variable bcftools-1.22/vcfconvert.c:931:13: note: Shadow local variable 2.20.0 bcftools-1.22/vcfconvert.c:989:17: style: Local variable 'ret' shadows outer variable [shadowVariable] bcftools-1.22/vcfconvert.c:892:9: note: Shadowed declaration bcftools-1.22/vcfconvert.c:989:17: note: Shadow variable head bcftools-1.22/vcfconvert.c:989:17: style: Local variable 'ret' shadows outer variable [shadowVariable] bcftools-1.22/vcfconvert.c:892:9: note: Shadowed variable bcftools-1.22/vcfconvert.c:989:17: note: Shadow local variable head bcftools-1.22/vcffilter.c:518:26: style: Variable 'loptions' can be declared as const array [constVariable] 2.20.0 bcftools-1.22/vcffilter.c:669:19: style: Local variable 'tmp' shadows outer variable [shadowVariable] bcftools-1.22/vcffilter.c:544:11: note: Shadowed declaration bcftools-1.22/vcffilter.c:669:19: note: Shadow variable head bcftools-1.22/vcffilter.c:669:19: style: Local variable 'tmp' shadows outer variable [shadowVariable] bcftools-1.22/vcffilter.c:544:11: note: Shadowed variable bcftools-1.22/vcffilter.c:669:19: note: Shadow local variable 2.20.0 bcftools-1.22/vcfgtcheck.c:1000:57: warning: If memory allocation fails, then there is a possible null pointer dereference: arr [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:977:38: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:977:23: note: Assignment 'arr=(struct idbl_t*)malloc(sizeof(*arr)*args->ngt_smpl)', assigned value is 0 bcftools-1.22/vcfgtcheck.c:1000:57: note: Null pointer dereference 2.20.0 bcftools-1.22/vcfgtcheck.c:1000:71: warning: If memory allocation fails, then there is a possible null pointer dereference: arr [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:977:38: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:977:23: note: Assignment 'arr=(struct idbl_t*)malloc(sizeof(*arr)*args->ngt_smpl)', assigned value is 0 bcftools-1.22/vcfgtcheck.c:1000:71: note: Null pointer dereference 2.20.0 bcftools-1.22/vcfgtcheck.c:1042:17: warning: If memory allocation fails, then there is a possible null pointer dereference: arr [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:1029:38: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:1029:23: note: Assignment 'arr=(struct idbl_t*)malloc(sizeof(*arr)*narr)', assigned value is 0 bcftools-1.22/vcfgtcheck.c:1042:17: note: Null pointer dereference 2.20.0 bcftools-1.22/vcfgtcheck.c:1043:17: warning: If memory allocation fails, then there is a possible null pointer dereference: arr [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:1029:38: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:1029:23: note: Assignment 'arr=(struct idbl_t*)malloc(sizeof(*arr)*narr)', assigned value is 0 bcftools-1.22/vcfgtcheck.c:1043:17: note: Null pointer dereference 2.20.0 bcftools-1.22/vcfgtcheck.c:1066:21: style: Local variable 'idx' shadows outer variable [shadowVariable] bcftools-1.22/vcfgtcheck.c:1030:19: note: Shadowed declaration bcftools-1.22/vcfgtcheck.c:1066:21: note: Shadow variable head bcftools-1.22/vcfgtcheck.c:1066:21: style: Local variable 'idx' shadows outer variable [shadowVariable] bcftools-1.22/vcfgtcheck.c:1030:19: note: Shadowed variable bcftools-1.22/vcfgtcheck.c:1066:21: note: Shadow local variable 2.20.0 bcftools-1.22/vcfgtcheck.c:990:17: warning: If memory allocation fails, then there is a possible null pointer dereference: arr [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:977:38: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:977:23: note: Assignment 'arr=(struct idbl_t*)malloc(sizeof(*arr)*args->ngt_smpl)', assigned value is 0 bcftools-1.22/vcfgtcheck.c:990:17: note: Null pointer dereference 2.20.0 bcftools-1.22/vcfgtcheck.c:991:17: warning: If memory allocation fails, then there is a possible null pointer dereference: arr [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:977:38: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:977:23: note: Assignment 'arr=(struct idbl_t*)malloc(sizeof(*arr)*args->ngt_smpl)', assigned value is 0 bcftools-1.22/vcfgtcheck.c:991:17: note: Null pointer dereference 2.20.0 bcftools-1.22/vcfgtcheck.c:994:19: warning: If memory allocation fails, then there is a possible null pointer dereference: arr [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:977:38: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:977:23: note: Assignment 'arr=(struct idbl_t*)malloc(sizeof(*arr)*args->ngt_smpl)', assigned value is 0 bcftools-1.22/vcfgtcheck.c:994:19: note: Null pointer dereference 2.20.0 bcftools-1.22/vcfgtcheck.c:999:21: style: Local variable 'idx' shadows outer variable [shadowVariable] bcftools-1.22/vcfgtcheck.c:981:17: note: Shadowed declaration bcftools-1.22/vcfgtcheck.c:999:21: note: Shadow variable head bcftools-1.22/vcfgtcheck.c:999:21: style: Local variable 'idx' shadows outer variable [shadowVariable] bcftools-1.22/vcfgtcheck.c:981:17: note: Shadowed variable bcftools-1.22/vcfgtcheck.c:999:21: note: Shadow local variable 2.20.0 bcftools-1.22/vcfgtcheck.c:999:27: warning: If memory allocation fails, then there is a possible null pointer dereference: arr [nullPointerOutOfMemory] bcftools-1.22/vcfgtcheck.c:977:38: note: Assuming allocation function fails bcftools-1.22/vcfgtcheck.c:977:23: note: Assignment 'arr=(struct idbl_t*)malloc(sizeof(*arr)*args->ngt_smpl)', assigned value is 0 bcftools-1.22/vcfgtcheck.c:999:27: note: Null pointer dereference 2.20.0 bcftools-1.22/vcfindex.c:131:17: style: Local variable 'len' shadows outer variable [shadowVariable] bcftools-1.22/vcfindex.c:88:9: note: Shadowed declaration bcftools-1.22/vcfindex.c:131:17: note: Shadow variable head bcftools-1.22/vcfindex.c:131:17: style: Local variable 'len' shadows outer variable [shadowVariable] bcftools-1.22/vcfindex.c:88:9: note: Shadowed variable bcftools-1.22/vcfindex.c:131:17: note: Shadow local variable 2.20.0 bcftools-1.22/vcfindex.c:187:13: style: Local variable 'ret' shadows outer variable [shadowVariable] bcftools-1.22/vcfindex.c:73:24: note: Shadowed declaration bcftools-1.22/vcfindex.c:187:13: note: Shadow variable head bcftools-1.22/vcfindex.c:187:13: style: Local variable 'ret' shadows outer variable [shadowVariable] bcftools-1.22/vcfindex.c:73:24: note: Shadowed variable bcftools-1.22/vcfindex.c:187:13: note: Shadow local variable 2.20.0 bcftools-1.22/vcfnorm.c:206:13: style: Local variable 'len' shadows outer variable [shadowVariable] bcftools-1.22/vcfnorm.c:203:31: note: Shadowed declaration bcftools-1.22/vcfnorm.c:206:13: note: Shadow variable head bcftools-1.22/vcfnorm.c:206:13: style: Local variable 'len' shadows outer variable [shadowVariable] bcftools-1.22/vcfnorm.c:203:31: note: Shadowed variable bcftools-1.22/vcfnorm.c:206:13: note: Shadow local variable 2.20.0 bcftools-1.22/vcfnorm.c:230:18: style: Local variable 'has_non_acgtn' shadows outer function [shadowFunction] bcftools-1.22/vcfnorm.c:177:19: note: Shadowed declaration bcftools-1.22/vcfnorm.c:230:18: note: Shadow variable head bcftools-1.22/vcfnorm.c:230:18: style: Local variable 'has_non_acgtn' shadows outer function [shadowFunction] bcftools-1.22/vcfnorm.c:177:19: note: Shadowed function bcftools-1.22/vcfnorm.c:230:18: note: Shadow local variable 2.20.0 bcftools-1.22/vcfnorm.c:254:17: style: Local variable 'len' shadows outer variable [shadowVariable] bcftools-1.22/vcfnorm.c:203:31: note: Shadowed declaration bcftools-1.22/vcfnorm.c:254:17: note: Shadow variable head bcftools-1.22/vcfnorm.c:254:17: style: Local variable 'len' shadows outer variable [shadowVariable] bcftools-1.22/vcfnorm.c:203:31: note: Shadowed variable bcftools-1.22/vcfnorm.c:254:17: note: Shadow local variable 2.20.0 bcftools-1.22/vcfnorm.c:271:13: style: Local variable 'len' shadows outer variable [shadowVariable] bcftools-1.22/vcfnorm.c:203:31: note: Shadowed declaration bcftools-1.22/vcfnorm.c:271:13: note: Shadow variable head bcftools-1.22/vcfnorm.c:271:13: style: Local variable 'len' shadows outer variable [shadowVariable] bcftools-1.22/vcfnorm.c:203:31: note: Shadowed variable bcftools-1.22/vcfnorm.c:271:13: note: Shadow local variable 2.20.0 bcftools-1.22/vcfquery.c:186:13: style: Local variable 'i' shadows outer variable [shadowVariable] bcftools-1.22/vcfquery.c:179:9: note: Shadowed declaration bcftools-1.22/vcfquery.c:186:13: note: Shadow variable head bcftools-1.22/vcfquery.c:186:13: style: Local variable 'i' shadows outer variable [shadowVariable] bcftools-1.22/vcfquery.c:179:9: note: Shadowed variable bcftools-1.22/vcfquery.c:186:13: note: Shadow local variable 2.20.0 bcftools-1.22/vcfstats.c:1170:13: style: Local variable 'is' shadows outer variable [shadowVariable] bcftools-1.22/vcfstats.c:1103:9: note: Shadowed declaration bcftools-1.22/vcfstats.c:1170:13: note: Shadow variable head bcftools-1.22/vcfstats.c:1170:13: style: Local variable 'is' shadows outer variable [shadowVariable] bcftools-1.22/vcfstats.c:1103:9: note: Shadowed variable bcftools-1.22/vcfstats.c:1170:13: note: Shadow local variable head bcftools-1.22/vcfstats.c:1227:31: style: Local variable 'reader' shadows outer argument [shadowArgument] bcftools-1.22/vcfstats.c:1088:69: note: Shadowed argument bcftools-1.22/vcfstats.c:1227:31: note: Shadow local variable 2.20.0 bcftools-1.22/vcfstats.c:1227:31: style: Local variable 'reader' shadows outer argument [shadowArgument] bcftools-1.22/vcfstats.c:1088:69: note: Shadowed declaration bcftools-1.22/vcfstats.c:1227:31: note: Shadow variable 2.20.0 bcftools-1.22/vcfstats.c:1527:17: style: Local variable 'j' shadows outer variable [shadowVariable] bcftools-1.22/vcfstats.c:1349:12: note: Shadowed declaration bcftools-1.22/vcfstats.c:1527:17: note: Shadow variable head bcftools-1.22/vcfstats.c:1527:17: style: Local variable 'j' shadows outer variable [shadowVariable] bcftools-1.22/vcfstats.c:1349:12: note: Shadowed variable bcftools-1.22/vcfstats.c:1527:17: note: Shadow local variable 2.20.0 bcftools-1.22/vcfstats.c:1821:21: style: Local variable 'j' shadows outer variable [shadowVariable] bcftools-1.22/vcfstats.c:1349:12: note: Shadowed declaration bcftools-1.22/vcfstats.c:1821:21: note: Shadow variable head bcftools-1.22/vcfstats.c:1821:21: style: Local variable 'j' shadows outer variable [shadowVariable] bcftools-1.22/vcfstats.c:1349:12: note: Shadowed variable bcftools-1.22/vcfstats.c:1821:21: note: Shadow local variable 2.20.0 bcftools-1.22/vcfview.c:246:17: style: Local variable 'i' shadows outer variable [shadowVariable] bcftools-1.22/vcfview.c:89:9: note: Shadowed declaration bcftools-1.22/vcfview.c:246:17: note: Shadow variable head bcftools-1.22/vcfview.c:246:17: style: Local variable 'i' shadows outer variable [shadowVariable] bcftools-1.22/vcfview.c:89:9: note: Shadowed variable bcftools-1.22/vcfview.c:246:17: note: Shadow local variable head bcftools-1.22/vcfview.c:577:26: style: Variable 'loptions' can be declared as const array [constVariable] 2.20.0 bcftools-1.22/vcfview.c:793:19: style: Local variable 'tmp' shadows outer variable [shadowVariable] bcftools-1.22/vcfview.c:625:11: note: Shadowed declaration bcftools-1.22/vcfview.c:793:19: note: Shadow variable head bcftools-1.22/vcfview.c:793:19: style: Local variable 'tmp' shadows outer variable [shadowVariable] bcftools-1.22/vcfview.c:625:11: note: Shadowed variable bcftools-1.22/vcfview.c:793:19: note: Shadow local variable head bcftools-1.22/version.c:34:27: style: Argument 'bcftools_version' shadows outer function [shadowFunction] bcftools-1.22/bcftools.h:43:7: note: Shadowed function bcftools-1.22/version.c:34:27: note: Shadow argument DONE