2025-05-06 14:24 ftp://ftp.de.debian.org/debian/pool/main/n/nifticlib/nifticlib_3.0.1.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.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 40776f9 (2025-05-06 14:25:14 +0200) count: 885 880 elapsed-time: 200.0 199.1 head-timing-info: old-timing-info: head results: nifti_clib-3.0.1/cifti/afni_xml.c:170:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml.c:254:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml.c:323:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml.c:347:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml.c:404:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml.c:430:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml.c:601:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml.c:622:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml.c:649:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml.c:679:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml.c:713:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml.c:761:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml.c:787:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml.c:804:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml.c:822:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml.c:852:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml.c:880:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml.c:909:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml.c:945:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml.c:970:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml.c:988:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml.c:163:22: style: Condition 'init_axml_ctrl(xd,0)' is always false [knownConditionTrueFalse] nifti_clib-3.0.1/cifti/afni_xml.c:163:22: note: Calling function 'init_axml_ctrl' returns 0 nifti_clib-3.0.1/cifti/afni_xml.c:163:22: note: Condition 'init_axml_ctrl(xd,0)' is always false nifti_clib-3.0.1/cifti/afni_xml.c:247:23: style: Condition 'init_axml_ctrl(xd,0)' is always false [knownConditionTrueFalse] nifti_clib-3.0.1/cifti/afni_xml.c:247:23: note: Calling function 'init_axml_ctrl' returns 0 nifti_clib-3.0.1/cifti/afni_xml.c:247:23: note: Condition 'init_axml_ctrl(xd,0)' is always false nifti_clib-3.0.1/cifti/afni_xml.c:522:71: style:inconclusive: Function 'axml_recur' argument 2 names different: declaration 'root' definition 'ax'. [funcArgNamesDifferent] nifti_clib-3.0.1/cifti/afni_xml.h:90:67: note: Function 'axml_recur' argument 2 names different: declaration 'root' definition 'ax'. nifti_clib-3.0.1/cifti/afni_xml.c:522:71: note: Function 'axml_recur' argument 2 names different: declaration 'root' definition 'ax'. nifti_clib-3.0.1/cifti/afni_xml.c:620:65: style: Parameter 'dp' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/cifti/afni_xml.c:645:45: style: Parameter 'xd' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/cifti/afni_xml.c:783:17: style: Variable 'ax' can be declared as pointer to const [constVariablePointer] nifti_clib-3.0.1/cifti/afni_xml_io.c:46:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml_io.c:152:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIFTI_ECODE_CIFTI [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml_io.c:161:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml_io.c:180:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml_io.c:239:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml_io.c:316:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml_io.c:417:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml_io.c:456:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml_io.c:506:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIFTI_TYPE_INT64 [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml_io.c:587:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml_io.c:311:8: style: Condition 'ax' is always true [knownConditionTrueFalse] nifti_clib-3.0.1/cifti/afni_xml_io.c:524:5: warning: Either the condition '!result' is redundant or there is possible null pointer dereference: result. [nullPointerRedundantCheck] nifti_clib-3.0.1/cifti/afni_xml_io.c:525:18: note: Assuming that condition '!result' is not redundant nifti_clib-3.0.1/cifti/afni_xml_io.c:524:5: note: Null pointer dereference nifti_clib-3.0.1/cifti/afni_xml_io.c:142:48: style: Parameter 'nim' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/cifti/afni_xml_io.c:159:45: style: Parameter 'ax' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/cifti/afni_xml_io.c:178:47: style: Parameter 'mesg' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/cifti/afni_xml_io.c:222:39: style: Parameter 'ax' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/cifti/afni_xml_io.c:408:14: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] nifti_clib-3.0.1/cifti/afni_xml_tool.c:62:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml_tool.c:99:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/afni_xml_tool.c:95:22: style: Parameter 'opts' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/cifti/cifti_tool.c:126:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/cifti_tool.c:179:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/cifti_tool.c:206:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/cifti_tool.c:235:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/cifti_tool.c:276:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/cifti_tool.c:293:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/cifti_tool.c:316:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/cifti_tool.c:333:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/cifti_tool.c:366:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/cifti_tool.c:424:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/cifti_tool.c:441:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/cifti/cifti_tool.c:201:23: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] nifti_clib-3.0.1/cifti/cifti_tool.c:272:33: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/cifti/cifti_tool.c:307:41: style: Parameter 'ax' can be declared as pointer to const. However it seems that 'ax_has_data' is a callback function, if 'ax' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nifti_clib-3.0.1/cifti/cifti_tool.c:251:18: note: You might need to cast the function pointer here nifti_clib-3.0.1/cifti/cifti_tool.c:307:41: note: Parameter 'ax' can be declared as pointer to const nifti_clib-3.0.1/cifti/cifti_tool.c:337:19: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] nifti_clib-3.0.1/cifti/cifti_tool.c:342:20: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] nifti_clib-3.0.1/cifti/cifti_tool.c:352:43: style: Parameter 'ax' can be declared as pointer to const. However it seems that 'ax_num_tokens' is a callback function, if 'ax' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nifti_clib-3.0.1/cifti/cifti_tool.c:255:18: note: You might need to cast the function pointer here nifti_clib-3.0.1/cifti/cifti_tool.c:352:43: note: Parameter 'ax' can be declared as pointer to const nifti_clib-3.0.1/cifti/cifti_tool.c:374:47: style: Parameter 'ax' can be declared as pointer to const. However it seems that 'ax_show_text_data' is a callback function, if 'ax' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nifti_clib-3.0.1/cifti/cifti_tool.c:261:18: note: You might need to cast the function pointer here nifti_clib-3.0.1/cifti/cifti_tool.c:374:47: note: Parameter 'ax' can be declared as pointer to const nifti_clib-3.0.1/cifti/cifti_tool.c:402:43: style: Parameter 'ax' can be declared as pointer to const. However it seems that 'ax_show_names' is a callback function, if 'ax' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nifti_clib-3.0.1/cifti/cifti_tool.c:263:18: note: You might need to cast the function pointer here nifti_clib-3.0.1/cifti/cifti_tool.c:402:43: note: Parameter 'ax' can be declared as pointer to const nifti_clib-3.0.1/fsliolib/examples/fsl_api_driver.c:50:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/examples/fsl_api_driver.c:134:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/examples/fsl_api_driver.c:34:7: style: Variable 'buffer' can be declared as pointer to const [constVariablePointer] nifti_clib-3.0.1/fsliolib/examples/fsl_api_driver.c:133:19: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/fsliolib/fslio.c:65:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:83:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:91:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:120:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:153:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:160:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:172:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:240:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:353:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:406:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:442:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:466:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:570:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:688:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:793:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:837:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:872:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:903:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:957:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1004:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1061:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1122:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1161:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1178:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1192:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1230:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1245:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1258:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1270:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1292:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1317:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1330:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1343:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1356:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1369:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1388:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1400:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1427:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1440:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1455:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1497:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1528:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1580:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1617:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1666:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1683:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1702:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1716:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1759:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1789:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1867:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1938:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:2026:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:2043:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:2093:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:2127:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:2211:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:2320:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:2355:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:2405:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/fsliolib/fslio.c:1800:42: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] nifti_clib-3.0.1/fsliolib/fslio.c:1797:38: note: outer condition: (orig[0]!=0)||(orig[1]!=0)||(orig[2]!=0) nifti_clib-3.0.1/fsliolib/fslio.c:1800:42: note: identical inner condition: (orig[0]!=0)||(orig[1]!=0)||(orig[2]!=0) nifti_clib-3.0.1/fsliolib/fslio.c:383:3: warning: If memory allocation fails, then there is a possible null pointer dereference: fslio [nullPointerOutOfMemory] nifti_clib-3.0.1/fsliolib/fslio.c:375:27: note: Assuming allocation function fails nifti_clib-3.0.1/fsliolib/fslio.c:375:11: note: Assignment 'fslio=(struct FSLIO*)calloc(1,sizeof(struct FSLIO))', assigned value is 0 nifti_clib-3.0.1/fsliolib/fslio.c:376:14: note: Calling function 'FslSetInit', 1st argument 'fslio' value is 0 nifti_clib-3.0.1/fsliolib/fslio.c:383:3: note: Null pointer dereference nifti_clib-3.0.1/fsliolib/fslio.c:384:3: warning: If memory allocation fails, then there is a possible null pointer dereference: fslio [nullPointerOutOfMemory] nifti_clib-3.0.1/fsliolib/fslio.c:375:27: note: Assuming allocation function fails nifti_clib-3.0.1/fsliolib/fslio.c:375:11: note: Assignment 'fslio=(struct FSLIO*)calloc(1,sizeof(struct FSLIO))', assigned value is 0 nifti_clib-3.0.1/fsliolib/fslio.c:376:14: note: Calling function 'FslSetInit', 1st argument 'fslio' value is 0 nifti_clib-3.0.1/fsliolib/fslio.c:384:3: note: Null pointer dereference nifti_clib-3.0.1/fsliolib/fslio.c:387:3: warning: If memory allocation fails, then there is a possible null pointer dereference: fslio [nullPointerOutOfMemory] nifti_clib-3.0.1/fsliolib/fslio.c:375:27: note: Assuming allocation function fails nifti_clib-3.0.1/fsliolib/fslio.c:375:11: note: Assignment 'fslio=(struct FSLIO*)calloc(1,sizeof(struct FSLIO))', assigned value is 0 nifti_clib-3.0.1/fsliolib/fslio.c:376:14: note: Calling function 'FslSetInit', 1st argument 'fslio' value is 0 nifti_clib-3.0.1/fsliolib/fslio.c:387:3: note: Null pointer dereference nifti_clib-3.0.1/fsliolib/fslio.c:521:10: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpname [nullPointerOutOfMemory] nifti_clib-3.0.1/fsliolib/fslio.c:519:27: note: Assuming allocation function fails nifti_clib-3.0.1/fsliolib/fslio.c:519:13: note: Assignment 'tmpname=(char*)calloc(strlen(basename)+10,sizeof(char))', assigned value is 0 nifti_clib-3.0.1/fsliolib/fslio.c:521:10: note: Null pointer dereference nifti_clib-3.0.1/fsliolib/fslio.c:522:10: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpname [nullPointerOutOfMemory] nifti_clib-3.0.1/fsliolib/fslio.c:519:27: note: Assuming allocation function fails nifti_clib-3.0.1/fsliolib/fslio.c:519:13: note: Assignment 'tmpname=(char*)calloc(strlen(basename)+10,sizeof(char))', assigned value is 0 nifti_clib-3.0.1/fsliolib/fslio.c:522:10: note: Null pointer dereference nifti_clib-3.0.1/fsliolib/fslio.c:572:14: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpname [nullPointerOutOfMemory] nifti_clib-3.0.1/fsliolib/fslio.c:569:31: note: Assuming allocation function fails nifti_clib-3.0.1/fsliolib/fslio.c:569:17: note: Assignment 'tmpname=(char*)calloc(strlen(basename)+10,sizeof(char))', assigned value is 0 nifti_clib-3.0.1/fsliolib/fslio.c:572:14: note: Null pointer dereference nifti_clib-3.0.1/fsliolib/fslio.c:573:14: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpname [nullPointerOutOfMemory] nifti_clib-3.0.1/fsliolib/fslio.c:569:31: note: Assuming allocation function fails nifti_clib-3.0.1/fsliolib/fslio.c:569:17: note: Assignment 'tmpname=(char*)calloc(strlen(basename)+10,sizeof(char))', assigned value is 0 nifti_clib-3.0.1/fsliolib/fslio.c:573:14: note: Null pointer dereference nifti_clib-3.0.1/fsliolib/fslio.c:928:13: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpbuf [nullPointerOutOfMemory] nifti_clib-3.0.1/fsliolib/fslio.c:922:30: note: Assuming allocation function fails nifti_clib-3.0.1/fsliolib/fslio.c:922:16: note: Assignment 'tmpbuf=(char*)calloc(nbytes,1)', assigned value is 0 nifti_clib-3.0.1/fsliolib/fslio.c:928:13: note: Null pointer dereference nifti_clib-3.0.1/fsliolib/fslio.c:1958:14: warning: If memory allocation fails, then there is a possible null pointer dereference: hdr [nullPointerOutOfMemory] nifti_clib-3.0.1/fsliolib/fslio.c:1950:32: note: Assuming allocation function fails nifti_clib-3.0.1/fsliolib/fslio.c:1950:11: note: Assignment 'hdr=(struct dsr*)calloc(1,sizeof(struct dsr))', assigned value is 0 nifti_clib-3.0.1/fsliolib/fslio.c:1958:14: note: Null pointer dereference nifti_clib-3.0.1/fsliolib/fslio.c:2129:13: warning: Either the condition 'fslio->niftiptr!=NULL' is redundant or there is possible null pointer dereference: fslio->niftiptr. [nullPointerRedundantCheck] nifti_clib-3.0.1/fsliolib/fslio.c:2133:22: note: Assuming that condition 'fslio->niftiptr!=NULL' is not redundant nifti_clib-3.0.1/fsliolib/fslio.c:2129:13: note: Null pointer dereference nifti_clib-3.0.1/fsliolib/fslio.c:2213:13: warning: Either the condition 'fslio->niftiptr!=NULL' is redundant or there is possible null pointer dereference: fslio->niftiptr. [nullPointerRedundantCheck] nifti_clib-3.0.1/fsliolib/fslio.c:2217:22: note: Assuming that condition 'fslio->niftiptr!=NULL' is not redundant nifti_clib-3.0.1/fsliolib/fslio.c:2213:13: note: Null pointer dereference nifti_clib-3.0.1/fsliolib/fslio.c:812:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] nifti_clib-3.0.1/fsliolib/fslio.c:2094:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] nifti_clib-3.0.1/fsliolib/fslio.c:168:9: style: Variable 'otype' can be declared as pointer to const [constVariablePointer] nifti_clib-3.0.1/fsliolib/fslio.c:564:9: style: Variable 'basename' can be declared as pointer to const [constVariablePointer] nifti_clib-3.0.1/fsliolib/fslio.c:565:9: style: Variable 'otype' can be declared as pointer to const [constVariablePointer] nifti_clib-3.0.1/fsliolib/fslio.c:918:22: style: Variable 'inbuf' can be declared as pointer to const [constVariablePointer] nifti_clib-3.0.1/fsliolib/fslio.c:1290:26: style: Parameter 'fslio' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/fsliolib/fslio.c:1341:27: style: Parameter 'fslio' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/fsliolib/fslio.c:2075:29: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/fsliolib/fslio.c:1910:15: style: Variable 'hptr' is assigned a value that is never used. [unreadVariable] nifti_clib-3.0.1/nifti2/clib_02_nifti2.c:63:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/clib_02_nifti2.c:121:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIFTI_TYPE_FLOAT32 [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/clib_02_nifti2.c:115:22: style: Variable 'd2' can be declared as pointer to const [constVariablePointer] nifti_clib-3.0.1/nifti2/nifti2_io.c:535:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:633:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:674:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:722:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:831:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:917:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:1014:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:1066:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:1145:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:1200:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:1251:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:1282:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:3110:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:3122:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:3141:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:3192:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:3247:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:3429:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:3473:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:3534:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:3737:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:3800:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:3886:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:3960:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:4026:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:4081:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:4349:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:4424:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:4479:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:4567:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:4660:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:4952:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:5234:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:5271:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:5372:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:5462:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:5526:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:5571:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:5647:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:5706:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:5849:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:6077:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:6147:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:6282:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:6322:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:6375:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:6449:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:6506:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:6586:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:6639:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:6727:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:6785:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:6909:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:6929:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:6949:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:6983:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:7037:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:7147:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:7228:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:7308:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:7352:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:7498:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:7612:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:7674:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:7704:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:7803:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:7913:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:7962:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:7978:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:7996:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:8158:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:8199:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:8502:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:8687:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:8724:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:8882:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:9030:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:9130:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:9207:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:9271:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:9330:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:9508:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:9625:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti2_io.c:8768:28: style: Expression is always true because 'else if' condition is opposite to previous condition at line 8766. [multiCondition] nifti_clib-3.0.1/nifti2/nifti2_io.c:8766:23: note: first condition nifti_clib-3.0.1/nifti2/nifti2_io.c:8768:28: note: else if condition is opposite to first condition nifti_clib-3.0.1/nifti2/nifti2_io.c:748:23: style: Redundant condition: nim->dim[0]>=2. 'nim->dim[0]<2 || (nim->dim[0]>=2 && nim->dim[2]<1)' is equivalent to 'nim->dim[0]<2 || nim->dim[2]<1' [redundantCondition] nifti_clib-3.0.1/nifti2/nifti2_io.c:755:23: style: Redundant condition: nim->dim[0]>=3. 'nim->dim[0]<3 || (nim->dim[0]>=3 && nim->dim[3]<1)' is equivalent to 'nim->dim[0]<3 || nim->dim[3]<1' [redundantCondition] nifti_clib-3.0.1/nifti2/nifti2_io.c:761:23: style: Redundant condition: nim->dim[0]>=4. 'nim->dim[0]<4 || (nim->dim[0]>=4 && nim->dim[4]<1)' is equivalent to 'nim->dim[0]<4 || nim->dim[4]<1' [redundantCondition] nifti_clib-3.0.1/nifti2/nifti2_io.c:767:23: style: Redundant condition: nim->dim[0]>=5. 'nim->dim[0]<5 || (nim->dim[0]>=5 && nim->dim[5]<1)' is equivalent to 'nim->dim[0]<5 || nim->dim[5]<1' [redundantCondition] nifti_clib-3.0.1/nifti2/nifti2_io.c:773:23: style: Redundant condition: nim->dim[0]>=6. 'nim->dim[0]<6 || (nim->dim[0]>=6 && nim->dim[6]<1)' is equivalent to 'nim->dim[0]<6 || nim->dim[6]<1' [redundantCondition] nifti_clib-3.0.1/nifti2/nifti2_io.c:779:23: style: Redundant condition: nim->dim[0]>=7. 'nim->dim[0]<7 || (nim->dim[0]>=7 && nim->dim[7]<1)' is equivalent to 'nim->dim[0]<7 || nim->dim[7]<1' [redundantCondition] nifti_clib-3.0.1/nifti2/nifti2_io.c:3440:9: style: Condition 'ext' is always true [knownConditionTrueFalse] nifti_clib-3.0.1/nifti2/nifti2_io.c:5862:23: style: Condition 'nifti_is_gzfile(hfile)' is always false [knownConditionTrueFalse] nifti_clib-3.0.1/nifti2/nifti2_io.c:5862:23: note: Calling function 'nifti_is_gzfile' returns 0 nifti_clib-3.0.1/nifti2/nifti2_io.c:5862:23: note: Condition 'nifti_is_gzfile(hfile)' is always false nifti_clib-3.0.1/nifti2/nifti2_io.c:5942:24: style: Condition 'g_opts.debug>2' is always true [knownConditionTrueFalse] nifti_clib-3.0.1/nifti2/nifti2_io.c:5940:21: note: Assuming that condition 'g_opts.debug>3' is not redundant nifti_clib-3.0.1/nifti2/nifti2_io.c:5942:24: note: Condition 'g_opts.debug>2' is always true nifti_clib-3.0.1/nifti2/nifti2_io.c:6076:23: style: Condition 'nifti_is_gzfile(fname)' is always false [knownConditionTrueFalse] nifti_clib-3.0.1/nifti2/nifti2_io.c:6076:23: note: Calling function 'nifti_is_gzfile' returns 0 nifti_clib-3.0.1/nifti2/nifti2_io.c:6076:23: note: Condition 'nifti_is_gzfile(fname)' is always false nifti_clib-3.0.1/nifti2/nifti2_io.c:6667:25: style: Condition 'nifti_is_gzfile(nim->iname)' is always false [knownConditionTrueFalse] nifti_clib-3.0.1/nifti2/nifti2_io.c:6667:25: note: Calling function 'nifti_is_gzfile' returns 0 nifti_clib-3.0.1/nifti2/nifti2_io.c:6667:25: note: Condition 'nifti_is_gzfile(nim->iname)' is always false nifti_clib-3.0.1/nifti2/nifti2_io.c:8738:23: style: Condition 'nim->dim[0]>=1' is always true [knownConditionTrueFalse] nifti_clib-3.0.1/nifti2/nifti2_io.c:8721:20: note: Assuming that condition 'nim->dim[0]<=0' is not redundant nifti_clib-3.0.1/nifti2/nifti2_io.c:8738:23: note: Condition 'nim->dim[0]>=1' is always true nifti_clib-3.0.1/nifti2/nifti2_io.c:8912:59: style: Condition 'make_pivot_list(nim,dims,pivots,prods,&nprods)<0' is always false [knownConditionTrueFalse] nifti_clib-3.0.1/nifti2/nifti2_io.c:8912:23: note: Calling function 'make_pivot_list' returns 0 nifti_clib-3.0.1/nifti2/nifti2_io.c:8912:59: note: Condition 'make_pivot_list(nim,dims,pivots,prods,&nprods)<0' is always false nifti_clib-3.0.1/nifti2/nifti2_io.c:6282:7: portability: %d in format string (no. 2) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] nifti_clib-3.0.1/nifti2/nifti2_io.c:8430:4: error: Common realloc mistake: 'buf' nulled but not freed upon failure [memleakOnRealloc] nifti_clib-3.0.1/nifti2/nifti2_io.c:4174:27: warning: Either the condition '!test_ext' is redundant or there is possible null pointer dereference: test_ext. [nullPointerRedundantCheck] nifti_clib-3.0.1/nifti2/nifti2_io.c:4178:8: note: Assuming that condition '!test_ext' is not redundant nifti_clib-3.0.1/nifti2/nifti2_io.c:4174:27: note: Null pointer dereference nifti_clib-3.0.1/nifti2/nifti2_io.c:4174:37: warning: Either the condition '!known_ext' is redundant or there is possible null pointer dereference: known_ext. [nullPointerRedundantCheck] nifti_clib-3.0.1/nifti2/nifti2_io.c:4178:21: note: Assuming that condition '!known_ext' is not redundant nifti_clib-3.0.1/nifti2/nifti2_io.c:4174:37: note: Null pointer dereference nifti_clib-3.0.1/nifti2/nifti2_io.c:4199:29: warning: Either the condition '!test_ext' is redundant or there is possible null pointer dereference: test_ext. [nullPointerRedundantCheck] nifti_clib-3.0.1/nifti2/nifti2_io.c:4203:8: note: Assuming that condition '!test_ext' is not redundant nifti_clib-3.0.1/nifti2/nifti2_io.c:4199:29: note: Null pointer dereference nifti_clib-3.0.1/nifti2/nifti2_io.c:4199:39: warning: Either the condition '!known_ext' is redundant or there is possible null pointer dereference: known_ext. [nullPointerRedundantCheck] nifti_clib-3.0.1/nifti2/nifti2_io.c:4203:21: note: Assuming that condition '!known_ext' is not redundant nifti_clib-3.0.1/nifti2/nifti2_io.c:4199:39: note: Null pointer dereference nifti_clib-3.0.1/nifti2/nifti2_io.c:8592:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] nifti_clib-3.0.1/nifti2/nifti2_io.c:8593:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] nifti_clib-3.0.1/nifti2/nifti2_io.c:8594:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] nifti_clib-3.0.1/nifti2/nifti2_io.c:8595:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] nifti_clib-3.0.1/nifti2/nifti2_io.c:8596:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] nifti_clib-3.0.1/nifti2/nifti2_io.c:8597:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] nifti_clib-3.0.1/nifti2/nifti2_io.c:8598:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] nifti_clib-3.0.1/nifti2/nifti2_io.c:8599:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] nifti_clib-3.0.1/nifti2/nifti2_io.c:8600:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] nifti_clib-3.0.1/nifti2/nifti2_io.c:8601:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] nifti_clib-3.0.1/nifti2/nifti2_io.c:8602:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] nifti_clib-3.0.1/nifti2/nifti2_io.c:8604:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] nifti_clib-3.0.1/nifti2/nifti2_io.c:8605:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] nifti_clib-3.0.1/nifti2/nifti2_io.c:8606:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] nifti_clib-3.0.1/nifti2/nifti2_io.c:8608:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] nifti_clib-3.0.1/nifti2/nifti2_io.c:8614:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] nifti_clib-3.0.1/nifti2/nifti2_io.c:8615:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] nifti_clib-3.0.1/nifti2/nifti2_io.c:8616:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] nifti_clib-3.0.1/nifti2/nifti2_io.c:8617:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] nifti_clib-3.0.1/nifti2/nifti2_io.c:8618:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] nifti_clib-3.0.1/nifti2/nifti2_io.c:8619:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] nifti_clib-3.0.1/nifti2/nifti2_io.c:8620:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] nifti_clib-3.0.1/nifti2/nifti2_io.c:8628:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] nifti_clib-3.0.1/nifti2/nifti2_io.c:4072:47: style: Parameter 'nim' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifti2/nifti2_io.c:4074:9: style: Variable 'func' can be declared as const array [constVariable] nifti_clib-3.0.1/nifti2/nifti2_io.c:5265:21: style: Variable 'fname' can be declared as const array [constVariable] nifti_clib-3.0.1/nifti2/nifti2_io.c:5366:21: style: Variable 'fname' can be declared as const array [constVariable] nifti_clib-3.0.1/nifti2/nifti2_io.c:5701:20: style: Variable 'fname' can be declared as const array [constVariable] nifti_clib-3.0.1/nifti2/nifti2_io.c:5845:20: style: Variable 'fname' can be declared as const array [constVariable] nifti_clib-3.0.1/nifti2/nifti2_io.c:5976:47: style: Parameter 'nim' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifti2/nifti2_io.c:6074:24: style: Variable 'lfunc' can be declared as const array [constVariable] nifti_clib-3.0.1/nifti2/nifti2_io.c:6445:23: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] nifti_clib-3.0.1/nifti2/nifti2_io.c:6501:20: style: Variable 'fname' can be declared as const array [constVariable] nifti_clib-3.0.1/nifti2/nifti2_io.c:6581:47: style: Parameter 'nim' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifti2/nifti2_io.c:6626:52: style: Parameter 'nim' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifti2/nifti2_io.c:6632:12: style: Variable 'fname' can be declared as const array [constVariable] nifti_clib-3.0.1/nifti2/nifti2_io.c:6779:46: style: Parameter 'nim' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifti2/nifti2_io.c:7798:19: style: Variable 'func' can be declared as const array [constVariable] nifti_clib-3.0.1/nifti2/nifti2_io.c:8991:12: style: Variable 'image_size' can be declared as pointer to const [constVariablePointer] nifti_clib-3.0.1/nifti2/nifti2_io.c:3514:21: style: Variable 'extgz' is assigned a value that is never used. [unreadVariable] nifti_clib-3.0.1/nifti2/nifti2_io.c:7033:35: style: Variable 'ok' is assigned a value that is never used. [unreadVariable] nifti_clib-3.0.1/nifti2/nifti2_io.c:8722:11: style: Variable 'errs' is assigned a value that is never used. [unreadVariable] nifti_clib-3.0.1/nifti2/nifti_tool.c:391:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:699:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:816:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:863:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:884:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:902:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:2019:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:2106:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:2187:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:2251:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:2302:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:2375:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:2470:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:2547:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:2608:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:2667:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:2717:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:2779:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:2815:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:2860:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:2929:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:2981:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:3036:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:3089:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:3139:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:3249:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:3358:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:3487:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:3541:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:3574:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:3605:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:3648:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:3885:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:3965:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:4060:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:4154:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:4244:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:4274:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:4341:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:4391:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:4419:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:4570:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:4606:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:4655:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:4679:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:4704:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:4867:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:4963:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:5058:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:5098:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:5180:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:5236:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:5291:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:5372:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:5450:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:5494:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:5617:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifti2/nifti_tool.c:4724:14: style: The if condition is the same as the previous if condition [duplicateCondition] nifti_clib-3.0.1/nifti2/nifti_tool.c:4723:14: note: First condition nifti_clib-3.0.1/nifti2/nifti_tool.c:4724:14: note: Second condition nifti_clib-3.0.1/nifti2/nifti_tool.c:4744:14: style: The if condition is the same as the previous if condition [duplicateCondition] nifti_clib-3.0.1/nifti2/nifti_tool.c:4743:14: note: First condition nifti_clib-3.0.1/nifti2/nifti_tool.c:4744:14: note: Second condition nifti_clib-3.0.1/nifti2/nifti_tool.c:4764:14: style: The if condition is the same as the previous if condition [duplicateCondition] nifti_clib-3.0.1/nifti2/nifti_tool.c:4763:14: note: First condition nifti_clib-3.0.1/nifti2/nifti_tool.c:4764:14: note: Second condition nifti_clib-3.0.1/nifti2/nifti_tool.c:4789:14: style: The if condition is the same as the previous if condition [duplicateCondition] nifti_clib-3.0.1/nifti2/nifti_tool.c:4788:14: note: First condition nifti_clib-3.0.1/nifti2/nifti_tool.c:4789:14: note: Second condition nifti_clib-3.0.1/nifti2/nifti_tool.c:4816:14: style: The if condition is the same as the previous if condition [duplicateCondition] nifti_clib-3.0.1/nifti2/nifti_tool.c:4815:14: note: First condition nifti_clib-3.0.1/nifti2/nifti_tool.c:4816:14: note: Second condition nifti_clib-3.0.1/nifti2/nifti_tool.c:4843:14: style: The if condition is the same as the previous if condition [duplicateCondition] nifti_clib-3.0.1/nifti2/nifti_tool.c:4842:14: note: First condition nifti_clib-3.0.1/nifti2/nifti_tool.c:4843:14: note: Second condition nifti_clib-3.0.1/nifti2/nifti_tool.c:5567:15: error: Memory leak: hdr [memleak] nifti_clib-3.0.1/nifti2/nifti_tool.c:4553:32: warning: Either the condition 'ext1' is redundant or there is possible null pointer dereference: ext1. [nullPointerRedundantCheck] nifti_clib-3.0.1/nifti2/nifti_tool.c:4550:27: note: Assuming that condition 'ext1' is not redundant nifti_clib-3.0.1/nifti2/nifti_tool.c:4553:32: note: Null pointer dereference nifti_clib-3.0.1/nifti2/nifti_tool.c:3773:17: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3794:17: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3843:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3844:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3845:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3851:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3852:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3853:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3854:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3859:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3860:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3861:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3862:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3871:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3872:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3873:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3874:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3875:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3876:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3878:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3879:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3880:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3923:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3924:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3925:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3927:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3930:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3931:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3932:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3933:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3934:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3935:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3944:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3945:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3946:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3947:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3948:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3949:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3951:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3952:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:3953:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4007:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4008:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4009:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4010:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4011:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4012:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4013:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4014:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4015:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4016:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4017:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4018:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4027:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4028:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4029:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4030:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4031:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4032:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4033:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4034:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4039:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4044:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4045:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4046:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4101:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4102:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4103:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4104:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4105:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4106:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4107:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4108:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4109:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4110:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4111:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4112:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4121:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4122:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4123:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4124:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4125:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4126:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4127:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4128:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4133:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4138:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4139:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4140:4: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4207:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4208:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4209:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4210:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4211:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4213:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4214:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4215:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4216:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4977:34: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4980:33: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4990:34: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:4993:34: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:5113:18: portability:inconclusive: Casting from double * * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:5154:32: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:5188:18: portability:inconclusive: Casting from double * * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:5225:18: portability:inconclusive: Casting from double * * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/nifti2/nifti_tool.c:674:41: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifti2/nifti_tool.c:796:55: style: Parameter 'argv' can be declared as const array [constParameter] nifti_clib-3.0.1/nifti2/nifti_tool.c:897:18: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifti2/nifti_tool.c:2775:29: style: Variable 'mptr' can be declared as pointer to const [constVariablePointer] nifti_clib-3.0.1/nifti2/nifti_tool.c:3136:21: style: Variable 'func' can be declared as const array [constVariable] nifti_clib-3.0.1/nifti2/nifti_tool.c:3246:21: style: Variable 'func' can be declared as const array [constVariable] nifti_clib-3.0.1/nifti2/nifti_tool.c:3353:21: style: Variable 'func' can be declared as const array [constVariable] nifti_clib-3.0.1/nifti2/nifti_tool.c:3484:21: style: Variable 'func' can be declared as const array [constVariable] nifti_clib-3.0.1/nifti2/nifti_tool.c:3536:12: style: Variable 'func' can be declared as const array [constVariable] nifti_clib-3.0.1/nifti2/nifti_tool.c:3569:12: style: Variable 'func' can be declared as const array [constVariable] nifti_clib-3.0.1/nifti2/nifti_tool.c:3598:48: style: Parameter 'opts' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifti2/nifti_tool.c:4493:20: style: Variable 'charp' can be declared as pointer to const [constVariablePointer] nifti_clib-3.0.1/nifti2/nifti_tool.c:4542:32: style: Variable 'ext0' can be declared as pointer to const [constVariablePointer] nifti_clib-3.0.1/nifti2/nifti_tool.c:4542:40: style: Variable 'ext1' can be declared as pointer to const [constVariablePointer] nifti_clib-3.0.1/nifti2/nifti_tool.c:4568:64: style: Parameter 'ext' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifti2/nifti_tool.c:4604:65: style: Parameter 'ext' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifti2/nifti_tool.c:4775:75: style: Parameter 'slist' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifti2/nifti_tool.c:4802:75: style: Parameter 'slist' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifti2/nifti_tool.c:4829:68: style: Parameter 'slist' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifti2/nifti_tool.c:5017:31: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifti2/nifti_tool.c:5147:15: style: Variable 'start_ind' can be declared as const array [constVariable] nifti_clib-3.0.1/nifti2/nifti_tool.c:5148:15: style: Variable 'size' can be declared as const array [constVariable] nifti_clib-3.0.1/nifti2/nifti_tool.c:5489:19: style: Variable 'func' can be declared as const array [constVariable] nifti_clib-3.0.1/nifti2/nifti_tool.c:5609:53: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifti2/nifti_tool.c:2857:44: style: Variable 'nver' is assigned a value that is never used. [unreadVariable] nifti_clib-3.0.1/nifticdf/nifti_stats.c:28:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIFTI_FIRST_STATCODE [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifticdf/nifticdf.c:58:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.833333333333333e [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifticdf/nifticdf.c:232:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.129418923021993e [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifticdf/nifticdf.c:414:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.833333333333333e [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifticdf/nifticdf.c:7284:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.771058495001320e [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifticdf/nifticdf.c:7357:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.771058495001320e [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifticdf/nifticdf.c:7585:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.273076135303957e [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifticdf/nifticdf.c:8016:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.833333333333333e [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifticdf/nifticdf.c:8065:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.577215664901533e [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifticdf/nifticdf.c:8128:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.820756370353826e [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifticdf/nifticdf.c:8396:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.185185185185185e [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifticdf/nifticdf.c:8836:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.895385022981970e [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifticdf/nifticdf.c:9048:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.914041914819518e [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifticdf/nifticdf.c:9080:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.566749439387324e [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifticdf/nifticdf.c:9132:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.566749439387324e [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifticdf/nifticdf.c:9390:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifticdf/nifticdf.c:11055:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIFTI_FIRST_STATCODE [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifticdf/nifticdf.c:11138:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIFTI_INTENT_ZSCORE [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/nifticdf/nifticdf.c:7782:21: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] nifti_clib-3.0.1/nifticdf/nifticdf.c:7867:20: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] nifti_clib-3.0.1/nifticdf/nifticdf.c:7868:20: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] nifti_clib-3.0.1/nifticdf/nifticdf.c:7869:20: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] nifti_clib-3.0.1/nifticdf/nifticdf.c:1895:21: warning: Logical conjunction always evaluates to false: *(which) < 1 && *(which) > 4. [incorrectLogicOperator] nifti_clib-3.0.1/nifticdf/nifticdf.c:1895:8: style: Condition '!(*which<1&&*which>4)' is always true [knownConditionTrueFalse] nifti_clib-3.0.1/nifticdf/nifticdf.c:1895:17: note: Assuming that condition '*which<1' is not redundant nifti_clib-3.0.1/nifticdf/nifticdf.c:1895:8: note: Condition '!(*which<1&&*which>4)' is always true nifti_clib-3.0.1/nifticdf/nifticdf.c:11052:11: warning: If memory allocation fails, then there is a possible null pointer dereference: unam [nullPointerOutOfMemory] nifti_clib-3.0.1/nifticdf/nifticdf.c:11051:25: note: Assuming allocation function fails nifti_clib-3.0.1/nifticdf/nifticdf.c:11051:11: note: Assignment 'unam=(char*)malloc(strlen(name)+1)', assigned value is 0 nifti_clib-3.0.1/nifticdf/nifticdf.c:11052:11: note: Null pointer dereference nifti_clib-3.0.1/nifticdf/nifticdf.c:11053:21: warning: If memory allocation fails, then there is a possible null pointer dereference: upt [nullPointerOutOfMemory] nifti_clib-3.0.1/nifticdf/nifticdf.c:11051:25: note: Assuming allocation function fails nifti_clib-3.0.1/nifticdf/nifticdf.c:11051:11: note: Assignment 'unam=(char*)malloc(strlen(name)+1)', assigned value is 0 nifti_clib-3.0.1/nifticdf/nifticdf.c:11053:13: note: Assignment 'upt=unam', assigned value is 0 nifti_clib-3.0.1/nifticdf/nifticdf.c:11053:21: note: Null pointer dereference nifti_clib-3.0.1/nifticdf/nifticdf.c:5733:17: style: Variable '*result' is reassigned a value before the old one has been used. [redundantAssignment] nifti_clib-3.0.1/nifticdf/nifticdf.c:5725:17: note: *result is assigned nifti_clib-3.0.1/nifticdf/nifticdf.c:5733:17: note: *result is overwritten nifti_clib-3.0.1/nifticdf/nifticdf.c:256:38: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:293:22: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:293:32: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:562:42: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:562:52: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:631:20: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:632:20: style: Parameter 'eps' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:714:22: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:714:32: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:1052:20: style: Parameter 'mu' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:1052:31: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:1052:41: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:1192:23: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:1192:33: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:1332:40: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:1332:50: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:4754:21: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:4754:31: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:4754:41: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:4754:51: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:4947:21: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:4947:31: style: Parameter 'df' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:5246:21: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:5246:31: style: Parameter 'dfn' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:5246:43: style: Parameter 'dfd' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:5417:21: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:5631:15: style: Variable 'a' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:5635:15: style: Variable 'b' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:5639:15: style: Variable 'c' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:5644:15: style: Variable 'd' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:5650:15: style: Variable 'p' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:5655:15: style: Variable 'q' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:6395:21: style: Parameter 'zsmall' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:6395:36: style: Parameter 'zbig' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:6395:49: style: Parameter 'zabsst' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:6396:21: style: Parameter 'zrelst' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:6396:36: style: Parameter 'zstpmu' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:6396:51: style: Parameter 'zabsto' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:6397:21: style: Parameter 'zrelto' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:6925:20: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:6925:30: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:6964:15: style: Variable 'denom' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:7156:42: style: Parameter 'fx' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:7226:20: style: Parameter 'zxlo' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:7226:33: style: Parameter 'zxhi' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:7226:46: style: Parameter 'zabstl' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:7226:61: style: Parameter 'zreltl' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:7283:15: style: Variable 'a' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:7287:15: style: Variable 'b' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:7290:15: style: Variable 'p' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:7295:15: style: Variable 'q' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:7300:15: style: Variable 'r' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:7304:15: style: Variable 's' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:7356:15: style: Variable 'a' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:7360:15: style: Variable 'b' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:7363:15: style: Variable 'p' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:7368:15: style: Variable 'q' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:7373:15: style: Variable 'r' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:7377:15: style: Variable 's' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:7587:15: style: Variable 'p' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:7592:15: style: Variable 'q' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:7596:15: style: Variable 'r' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:7707:15: style: Variable 'amin' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:7710:15: style: Variable 'bmin' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:7713:15: style: Variable 'dmin' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:7716:15: style: Variable 'emin' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:7719:15: style: Variable 'eps0' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:8003:22: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:8133:15: style: Variable 'p' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:8137:15: style: Variable 'q' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:8259:20: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:8364:21: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:8406:15: style: Variable 'acc0' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:8409:15: style: Variable 'big' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:8412:15: style: Variable 'd0' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:8419:15: style: Variable 'd1' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:8425:15: style: Variable 'd2' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:8431:15: style: Variable 'd3' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:8436:15: style: Variable 'd4' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:8440:15: style: Variable 'd5' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:8444:15: style: Variable 'd6' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:8447:15: style: Variable 'e00' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:8450:15: style: Variable 'x00' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:8835:15: style: Variable 'p1' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:8840:15: style: Variable 'p2' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:8844:15: style: Variable 'q1' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:8848:15: style: Variable 'q2' can be declared as const array [constVariable] nifti_clib-3.0.1/nifticdf/nifticdf.c:9006:22: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:11044:30: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/niftilib/nifti1_io.c:463:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:544:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:582:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:627:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:734:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:821:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:912:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:963:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:1039:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:1092:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:1143:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:1174:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:2253:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:2509:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:2553:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:2614:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:2793:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:2856:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:2941:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:3011:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:3074:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:3129:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:3397:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:3469:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:3524:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:3622:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:3935:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:3972:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:4060:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:4125:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:4183:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:4327:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:4394:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:4528:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:4568:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:4620:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:4693:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:4762:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:4815:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:4902:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:4960:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:5084:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:5104:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:5124:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:5159:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:5209:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:5320:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:5396:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:5553:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:5614:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:5653:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:5729:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:5827:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:5875:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:5891:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:5909:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:6071:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:6112:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:6413:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:6598:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:6635:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:6785:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:6952:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:7067:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:7141:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:7204:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:7262:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:7503:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_io.c:6675:28: style: Expression is always true because 'else if' condition is opposite to previous condition at line 6673. [multiCondition] nifti_clib-3.0.1/niftilib/nifti1_io.c:6673:23: note: first condition nifti_clib-3.0.1/niftilib/nifti1_io.c:6675:28: note: else if condition is opposite to first condition nifti_clib-3.0.1/niftilib/nifti1_io.c:653:23: style: Redundant condition: nim->dim[0]>=2. 'nim->dim[0]<2 || (nim->dim[0]>=2 && nim->dim[2]<1)' is equivalent to 'nim->dim[0]<2 || nim->dim[2]<1' [redundantCondition] nifti_clib-3.0.1/niftilib/nifti1_io.c:660:23: style: Redundant condition: nim->dim[0]>=3. 'nim->dim[0]<3 || (nim->dim[0]>=3 && nim->dim[3]<1)' is equivalent to 'nim->dim[0]<3 || nim->dim[3]<1' [redundantCondition] nifti_clib-3.0.1/niftilib/nifti1_io.c:666:23: style: Redundant condition: nim->dim[0]>=4. 'nim->dim[0]<4 || (nim->dim[0]>=4 && nim->dim[4]<1)' is equivalent to 'nim->dim[0]<4 || nim->dim[4]<1' [redundantCondition] nifti_clib-3.0.1/niftilib/nifti1_io.c:672:23: style: Redundant condition: nim->dim[0]>=5. 'nim->dim[0]<5 || (nim->dim[0]>=5 && nim->dim[5]<1)' is equivalent to 'nim->dim[0]<5 || nim->dim[5]<1' [redundantCondition] nifti_clib-3.0.1/niftilib/nifti1_io.c:678:23: style: Redundant condition: nim->dim[0]>=6. 'nim->dim[0]<6 || (nim->dim[0]>=6 && nim->dim[6]<1)' is equivalent to 'nim->dim[0]<6 || nim->dim[6]<1' [redundantCondition] nifti_clib-3.0.1/niftilib/nifti1_io.c:684:23: style: Redundant condition: nim->dim[0]>=7. 'nim->dim[0]<7 || (nim->dim[0]>=7 && nim->dim[7]<1)' is equivalent to 'nim->dim[0]<7 || nim->dim[7]<1' [redundantCondition] nifti_clib-3.0.1/niftilib/nifti1_io.c:2520:9: style: Condition 'ext' is always true [knownConditionTrueFalse] nifti_clib-3.0.1/niftilib/nifti1_io.c:4200:23: style: Condition 'nifti_is_gzfile(hfile)' is always false [knownConditionTrueFalse] nifti_clib-3.0.1/niftilib/nifti1_io.c:4200:23: note: Calling function 'nifti_is_gzfile' returns 0 nifti_clib-3.0.1/niftilib/nifti1_io.c:4200:23: note: Condition 'nifti_is_gzfile(hfile)' is always false nifti_clib-3.0.1/niftilib/nifti1_io.c:4257:24: style: Condition 'g_opts.debug>2' is always true [knownConditionTrueFalse] nifti_clib-3.0.1/niftilib/nifti1_io.c:4255:21: note: Assuming that condition 'g_opts.debug>3' is not redundant nifti_clib-3.0.1/niftilib/nifti1_io.c:4257:24: note: Condition 'g_opts.debug>2' is always true nifti_clib-3.0.1/niftilib/nifti1_io.c:4326:23: style: Condition 'nifti_is_gzfile(fname)' is always false [knownConditionTrueFalse] nifti_clib-3.0.1/niftilib/nifti1_io.c:4326:23: note: Calling function 'nifti_is_gzfile' returns 0 nifti_clib-3.0.1/niftilib/nifti1_io.c:4326:23: note: Condition 'nifti_is_gzfile(fname)' is always false nifti_clib-3.0.1/niftilib/nifti1_io.c:4843:25: style: Condition 'nifti_is_gzfile(nim->iname)' is always false [knownConditionTrueFalse] nifti_clib-3.0.1/niftilib/nifti1_io.c:4843:25: note: Calling function 'nifti_is_gzfile' returns 0 nifti_clib-3.0.1/niftilib/nifti1_io.c:4843:25: note: Condition 'nifti_is_gzfile(nim->iname)' is always false nifti_clib-3.0.1/niftilib/nifti1_io.c:6647:23: style: Condition 'nim->dim[0]>=1' is always true [knownConditionTrueFalse] nifti_clib-3.0.1/niftilib/nifti1_io.c:6632:20: note: Assuming that condition 'nim->dim[0]<=0' is not redundant nifti_clib-3.0.1/niftilib/nifti1_io.c:6647:23: note: Condition 'nim->dim[0]>=1' is always true nifti_clib-3.0.1/niftilib/nifti1_io.c:6814:59: style: Condition 'make_pivot_list(nim,dims,pivots,prods,&nprods)<0' is always false [knownConditionTrueFalse] nifti_clib-3.0.1/niftilib/nifti1_io.c:6814:23: note: Calling function 'make_pivot_list' returns 0 nifti_clib-3.0.1/niftilib/nifti1_io.c:6814:59: note: Condition 'make_pivot_list(nim,dims,pivots,prods,&nprods)<0' is always false nifti_clib-3.0.1/niftilib/nifti1_io.c:4528:7: portability: %d in format string (no. 2) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] nifti_clib-3.0.1/niftilib/nifti1_io.c:6342:4: error: Common realloc mistake: 'buf' nulled but not freed upon failure [memleakOnRealloc] nifti_clib-3.0.1/niftilib/nifti1_io.c:3222:27: warning: Either the condition '!test_ext' is redundant or there is possible null pointer dereference: test_ext. [nullPointerRedundantCheck] nifti_clib-3.0.1/niftilib/nifti1_io.c:3226:8: note: Assuming that condition '!test_ext' is not redundant nifti_clib-3.0.1/niftilib/nifti1_io.c:3222:27: note: Null pointer dereference nifti_clib-3.0.1/niftilib/nifti1_io.c:3222:37: warning: Either the condition '!known_ext' is redundant or there is possible null pointer dereference: known_ext. [nullPointerRedundantCheck] nifti_clib-3.0.1/niftilib/nifti1_io.c:3226:21: note: Assuming that condition '!known_ext' is not redundant nifti_clib-3.0.1/niftilib/nifti1_io.c:3222:37: note: Null pointer dereference nifti_clib-3.0.1/niftilib/nifti1_io.c:3247:29: warning: Either the condition '!test_ext' is redundant or there is possible null pointer dereference: test_ext. [nullPointerRedundantCheck] nifti_clib-3.0.1/niftilib/nifti1_io.c:3251:8: note: Assuming that condition '!test_ext' is not redundant nifti_clib-3.0.1/niftilib/nifti1_io.c:3247:29: note: Null pointer dereference nifti_clib-3.0.1/niftilib/nifti1_io.c:3247:39: warning: Either the condition '!known_ext' is redundant or there is possible null pointer dereference: known_ext. [nullPointerRedundantCheck] nifti_clib-3.0.1/niftilib/nifti1_io.c:3251:21: note: Assuming that condition '!known_ext' is not redundant nifti_clib-3.0.1/niftilib/nifti1_io.c:3247:39: note: Null pointer dereference nifti_clib-3.0.1/niftilib/nifti1_io.c:3934:46: style: Checking if unsigned expression '(*nim)->nvox' is less than zero. [unsignedLessThanZero] nifti_clib-3.0.1/niftilib/nifti1_io.c:4812:38: style: Checking if unsigned expression 'nim->nvox' is less than zero. [unsignedLessThanZero] nifti_clib-3.0.1/niftilib/nifti1_io.c:4850:13: style: Checking if unsigned expression 'ii' is less than zero. [unsignedLessThanZero] nifti_clib-3.0.1/niftilib/nifti1_io.c:5174:60: style: Checking if unsigned expression 'NBL->bsize' is less than zero. [unsignedLessThanZero] nifti_clib-3.0.1/niftilib/nifti1_io.c:3120:47: style: Parameter 'nim' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/niftilib/nifti1_io.c:3122:9: style: Variable 'func' can be declared as const array [constVariable] nifti_clib-3.0.1/niftilib/nifti1_io.c:3966:21: style: Variable 'fname' can be declared as const array [constVariable] nifti_clib-3.0.1/niftilib/nifti1_io.c:4179:27: style: Variable 'fname' can be declared as const array [constVariable] nifti_clib-3.0.1/niftilib/nifti1_io.c:4319:56: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/niftilib/nifti1_io.c:4324:24: style: Variable 'lfunc' can be declared as const array [constVariable] nifti_clib-3.0.1/niftilib/nifti1_io.c:4689:23: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] nifti_clib-3.0.1/niftilib/nifti1_io.c:4757:47: style: Parameter 'nim' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/niftilib/nifti1_io.c:4802:52: style: Parameter 'nim' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/niftilib/nifti1_io.c:4808:12: style: Variable 'fname' can be declared as const array [constVariable] nifti_clib-3.0.1/niftilib/nifti1_io.c:4954:46: style: Parameter 'nim' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/niftilib/nifti1_io.c:5724:26: style: Variable 'func' can be declared as const array [constVariable] nifti_clib-3.0.1/niftilib/nifti1_io.c:6893:8: style: Variable 'image_size' can be declared as pointer to const [constVariablePointer] nifti_clib-3.0.1/niftilib/nifti1_io.c:2594:21: style: Variable 'extgz' is assigned a value that is never used. [unreadVariable] nifti_clib-3.0.1/niftilib/nifti1_io.c:5205:35: style: Variable 'ok' is assigned a value that is never used. [unreadVariable] nifti_clib-3.0.1/niftilib/nifti1_io.c:6633:11: style: Variable 'errs' is assigned a value that is never used. [unreadVariable] nifti_clib-3.0.1/niftilib/nifti1_test.c:46:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nifti_1_header [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_test.c:20:38: style: Variable 'argn' is assigned a value that is never used. [unreadVariable] nifti_clib-3.0.1/niftilib/nifti1_tool.c:312:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:577:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:706:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:753:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:774:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:792:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:1745:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:1824:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:1901:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:1965:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:2016:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:2089:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:2184:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:2236:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:2286:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:2347:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:2385:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:2436:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:2489:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:2539:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:2631:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:2736:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:2789:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:2820:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:2859:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3055:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3149:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3239:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3269:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3329:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3363:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3387:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3536:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3582:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3607:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3723:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3840:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3899:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3980:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:4058:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:4097:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:4140:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3627:14: style: The if condition is the same as the previous if condition [duplicateCondition] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3626:14: note: First condition nifti_clib-3.0.1/niftilib/nifti1_tool.c:3627:14: note: Second condition nifti_clib-3.0.1/niftilib/nifti1_tool.c:3647:14: style: The if condition is the same as the previous if condition [duplicateCondition] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3646:14: note: First condition nifti_clib-3.0.1/niftilib/nifti1_tool.c:3647:14: note: Second condition nifti_clib-3.0.1/niftilib/nifti1_tool.c:3672:14: style: The if condition is the same as the previous if condition [duplicateCondition] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3671:14: note: First condition nifti_clib-3.0.1/niftilib/nifti1_tool.c:3672:14: note: Second condition nifti_clib-3.0.1/niftilib/nifti1_tool.c:3699:14: style: The if condition is the same as the previous if condition [duplicateCondition] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3698:14: note: First condition nifti_clib-3.0.1/niftilib/nifti1_tool.c:3699:14: note: Second condition nifti_clib-3.0.1/niftilib/nifti1_tool.c:3518:32: warning: Either the condition 'ext1' is redundant or there is possible null pointer dereference: ext1. [nullPointerRedundantCheck] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3515:27: note: Assuming that condition 'ext1' is not redundant nifti_clib-3.0.1/niftilib/nifti1_tool.c:3518:32: note: Null pointer dereference nifti_clib-3.0.1/niftilib/nifti1_tool.c:2964:17: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3013:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3014:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3015:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3021:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3022:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3023:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3024:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3029:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3030:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3031:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3032:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3041:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3042:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3043:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3044:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3045:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3046:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3048:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3049:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3050:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3096:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3097:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3098:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3099:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3100:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3101:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3102:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3103:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3104:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3105:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3106:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3107:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3116:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3117:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3118:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3119:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3120:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3121:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3122:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3123:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3128:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3133:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3134:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3135:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3202:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3203:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3204:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3205:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3206:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3208:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3209:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3210:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3211:4: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3827:36: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3834:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] nifti_clib-3.0.1/niftilib/nifti1_tool.c:558:41: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/niftilib/nifti1_tool.c:686:55: style: Parameter 'argv' can be declared as const array [constParameter] nifti_clib-3.0.1/niftilib/nifti1_tool.c:2536:21: style: Variable 'func' can be declared as const array [constVariable] nifti_clib-3.0.1/niftilib/nifti1_tool.c:2626:21: style: Variable 'func' can be declared as const array [constVariable] nifti_clib-3.0.1/niftilib/nifti1_tool.c:2733:21: style: Variable 'func' can be declared as const array [constVariable] nifti_clib-3.0.1/niftilib/nifti1_tool.c:2784:12: style: Variable 'func' can be declared as const array [constVariable] nifti_clib-3.0.1/niftilib/nifti1_tool.c:2813:48: style: Parameter 'opts' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3460:20: style: Variable 'charp' can be declared as pointer to const [constVariablePointer] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3507:32: style: Variable 'ext0' can be declared as pointer to const [constVariablePointer] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3507:40: style: Variable 'ext1' can be declared as pointer to const [constVariablePointer] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3533:65: style: Parameter 'ext' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3658:74: style: Parameter 'slist' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3685:68: style: Parameter 'slist' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/niftilib/nifti1_tool.c:3856:31: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/niftilib/nifti_tester001.c:17:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti_tester001.c:48:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIFTI_INTENT_ESTIMATE [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti_tester001.c:195:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti_tester001.c:14:33: style: Condition 'FailureOccured' is always true [knownConditionTrueFalse] nifti_clib-3.0.1/niftilib/nifti_tester001.c:12:20: note: Assuming that condition 'FailureOccured==NIFTITEST_TRUE' is not redundant nifti_clib-3.0.1/niftilib/nifti_tester001.c:14:33: note: Condition 'FailureOccured' is always true nifti_clib-3.0.1/niftilib/nifti_tester001.c:15:51: style: Condition 'FailureOccured' is always true [knownConditionTrueFalse] nifti_clib-3.0.1/niftilib/nifti_tester001.c:12:20: note: Assuming that condition 'FailureOccured==NIFTITEST_TRUE' is not redundant nifti_clib-3.0.1/niftilib/nifti_tester001.c:15:51: note: Condition 'FailureOccured' is always true nifti_clib-3.0.1/niftilib/nifti_tester001.c:643:3: style: Same expression 'qd!=0.000000' found multiple times in chain of '||' operators. [duplicateExpression] nifti_clib-3.0.1/niftilib/nifti_tester001.c:170:27: style: Parameter 'argv' can be declared as const array [constParameter] nifti_clib-3.0.1/niftilib/nifti_tester002.c:25:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIFTI_ECODE_COMMENT [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/niftilib/nifti_tester002.c:7:27: style: Parameter 'argv' can be declared as const array [constParameter] nifti_clib-3.0.1/real_easy/stand_alone_app/clib_01_read_write.c:48:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/real_easy/stand_alone_app/nifti1_read_write.c:120:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/real_easy/stand_alone_app/nifti1_read_write.c:210:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/real_easy/stand_alone_app/nifti1_read_write.c:332:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/real_easy/stand_alone_app/nifti1_read_write.c:229:9: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] nifti_clib-3.0.1/real_easy/stand_alone_app/nifti1_read_write.c:108:41: style: Parameter 'hdr_file' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/real_easy/stand_alone_app/nifti1_read_write.c:108:64: style: Parameter 'data_file' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/real_easy/stand_alone_app/nifti1_read_write.c:198:42: style: Parameter 'hdr_file' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/real_easy/stand_alone_app/nifti1_read_write.c:198:65: style: Parameter 'data_file' can be declared as pointer to const [constParameterPointer] nifti_clib-3.0.1/znzlib/znzlib.c:53:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nifti_clib-3.0.1/znzlib/znzlib.c:136:14: style: Variable 'cbuf' can be declared as pointer to const [constVariablePointer] nifti_clib-3.0.1/znzlib/znzlib.c:135:21: style: Variable 'remain' is assigned a value that is never used. [unreadVariable] nifti_clib-3.0.1/znzlib/znzlib.c:136:19: style: Variable 'cbuf' is assigned a value that is never used. [unreadVariable] nifti_clib-3.0.1/znzlib/znzlib.c:135:14: style: Variable 'remain' is assigned a value that is never used. [unreadVariable] nifti_clib-3.0.1/znzlib/znzlib.c:136:14: style: Variable 'cbuf' is assigned a value that is never used. [unreadVariable] nifti_clib-3.0.1/znzlib/znzlib.c:137:14: style: Unused variable: n2read [unusedVariable] nifti_clib-3.0.1/znzlib/znzlib.c:138:14: style: Unused variable: nread [unusedVariable] nifti_clib-3.0.1/znzlib/znzlib.c:169:21: style: Variable 'remain' is assigned a value that is never used. [unreadVariable] nifti_clib-3.0.1/znzlib/znzlib.c:170:21: style: Variable 'cbuf' is assigned a value that is never used. [unreadVariable] nifti_clib-3.0.1/znzlib/znzlib.c:169:14: style: Variable 'remain' is assigned a value that is never used. [unreadVariable] nifti_clib-3.0.1/znzlib/znzlib.c:170:16: style: Variable 'cbuf' is assigned a value that is never used. [unreadVariable] nifti_clib-3.0.1/znzlib/znzlib.c:171:14: style: Unused variable: n2write [unusedVariable] nifti_clib-3.0.1/znzlib/znzlib.c:172:14: style: Unused variable: nwritten [unusedVariable] nifti_clib-3.0.1/fsliolib/fslio.c:383:3: warning: If memory allocation fails, then there is a possible null pointer dereference: fslio [ctunullpointerOutOfMemory] nifti_clib-3.0.1/fsliolib/fslio.c:375:27: note: Assuming allocation function fails nifti_clib-3.0.1/fsliolib/fslio.c:375:11: note: Assignment 'fslio=(struct FSLIO*)calloc(1,sizeof(struct FSLIO))', assigned value is 0 nifti_clib-3.0.1/fsliolib/fslio.c:376:13: note: Calling function FslSetInit, 1st argument is null nifti_clib-3.0.1/fsliolib/fslio.c:383:3: note: Dereferencing argument fslio that is null nifti_clib-3.0.1/nifticdf/nifticdf.c:6133:9: error: Null pointer dereference: status [ctunullpointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:6463:10: note: Calling function E0000, 2nd argument is null nifti_clib-3.0.1/nifticdf/nifticdf.c:6133:9: note: Dereferencing argument status that is null nifti_clib-3.0.1/nifticdf/nifticdf.c:6134:14: error: Null pointer dereference: x [ctunullpointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:6463:10: note: Calling function E0000, 3rd argument is null nifti_clib-3.0.1/nifticdf/nifticdf.c:6134:14: note: Dereferencing argument x that is null nifti_clib-3.0.1/nifticdf/nifticdf.c:7007:9: error: Null pointer dereference: status [ctunullpointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:7271:10: note: Calling function E0001, 2nd argument is null nifti_clib-3.0.1/nifticdf/nifticdf.c:7007:9: note: Dereferencing argument status that is null nifti_clib-3.0.1/nifticdf/nifticdf.c:7010:10: error: Null pointer dereference: x [ctunullpointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:7271:10: note: Calling function E0001, 3rd argument is null nifti_clib-3.0.1/nifticdf/nifticdf.c:7010:10: note: Dereferencing argument x that is null nifti_clib-3.0.1/nifticdf/nifticdf.c:7017:11: error: Null pointer dereference: fx [ctunullpointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:7271:10: note: Calling function E0001, 4th argument is null nifti_clib-3.0.1/nifticdf/nifticdf.c:7017:11: note: Dereferencing argument fx that is null nifti_clib-3.0.1/nifticdf/nifticdf.c:7008:6: error: Null pointer dereference: xlo [ctunullpointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:7271:10: note: Calling function E0001, 5th argument is null nifti_clib-3.0.1/nifticdf/nifticdf.c:7008:6: note: Dereferencing argument xlo that is null nifti_clib-3.0.1/nifticdf/nifticdf.c:7009:6: error: Null pointer dereference: xhi [ctunullpointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:7271:10: note: Calling function E0001, 6th argument is null nifti_clib-3.0.1/nifticdf/nifticdf.c:7009:6: note: Dereferencing argument xhi that is null nifti_clib-3.0.1/nifticdf/nifticdf.c:7033:6: error: Null pointer dereference: qleft [ctunullpointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:7271:10: note: Calling function E0001, 7th argument is null nifti_clib-3.0.1/nifticdf/nifticdf.c:7033:6: note: Dereferencing argument qleft that is null nifti_clib-3.0.1/nifticdf/nifticdf.c:7034:6: error: Null pointer dereference: qhi [ctunullpointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:7271:10: note: Calling function E0001, 8th argument is null nifti_clib-3.0.1/nifticdf/nifticdf.c:7034:6: note: Dereferencing argument qhi that is null nifti_clib-3.0.1/nifticdf/nifticdf.c:7140:15: error: Null pointer dereference: zabstl [ctunullpointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:7222:10: note: Calling function E0001, 9th argument is null nifti_clib-3.0.1/nifticdf/nifticdf.c:7140:15: note: Dereferencing argument zabstl that is null nifti_clib-3.0.1/nifticdf/nifticdf.c:7141:15: error: Null pointer dereference: zreltl [ctunullpointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:7222:10: note: Calling function E0001, 10th argument is null nifti_clib-3.0.1/nifticdf/nifticdf.c:7141:15: note: Dereferencing argument zreltl that is null nifti_clib-3.0.1/nifticdf/nifticdf.c:7139:13: error: Null pointer dereference: zxhi [ctunullpointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:7222:10: note: Calling function E0001, 11th argument is null nifti_clib-3.0.1/nifticdf/nifticdf.c:7139:13: note: Dereferencing argument zxhi that is null nifti_clib-3.0.1/nifticdf/nifticdf.c:7138:13: error: Null pointer dereference: zxlo [ctunullpointer] nifti_clib-3.0.1/nifticdf/nifticdf.c:7222:10: note: Calling function E0001, 12th argument is null nifti_clib-3.0.1/nifticdf/nifticdf.c:7138:13: note: Dereferencing argument zxlo that is null diff: head nifti_clib-3.0.1/fsliolib/fslio.c:383:3: warning: If memory allocation fails, then there is a possible null pointer dereference: fslio [ctunullpointerOutOfMemory] nifti_clib-3.0.1/fsliolib/fslio.c:375:27: note: Assuming allocation function fails nifti_clib-3.0.1/fsliolib/fslio.c:375:11: note: Assignment 'fslio=(struct FSLIO*)calloc(1,sizeof(struct FSLIO))', assigned value is 0 nifti_clib-3.0.1/fsliolib/fslio.c:376:13: note: Calling function FslSetInit, 1st argument is null nifti_clib-3.0.1/fsliolib/fslio.c:383:3: note: Dereferencing argument fslio that is null head nifti_clib-3.0.1/znzlib/znzlib.c:135:14: style: Variable 'remain' is assigned a value that is never used. [unreadVariable] head nifti_clib-3.0.1/znzlib/znzlib.c:136:14: style: Variable 'cbuf' is assigned a value that is never used. [unreadVariable] head nifti_clib-3.0.1/znzlib/znzlib.c:169:14: style: Variable 'remain' is assigned a value that is never used. [unreadVariable] head nifti_clib-3.0.1/znzlib/znzlib.c:170:16: style: Variable 'cbuf' is assigned a value that is never used. [unreadVariable] DONE