2025-09-16 09:18 ftp://ftp.de.debian.org/debian/pool/main/s/splash/splash_3.11.5.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-79-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: 3e169d6 (2025-09-15 13:38:15 +0200) count: 71 111 elapsed-time: 0.5 1.2 head-timing-info: old-timing-info: head results: danieljprice-splash-28c1a60/src/H5Part/H5PartAttribF.c:22:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5PART_FLOAT64 [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/H5Part/H5PartAttribF.c:53:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5PART_FLOAT32 [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/H5Part/H5PartAttribF.c:84:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5PART_INT64 [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/H5Part/H5PartAttribF.c:115:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5PART_INT32 [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/H5Part/H5PartAttribF.c:146:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5PART_FLOAT64 [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/H5Part/H5PartAttribF.c:177:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5PART_FLOAT32 [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/H5Part/H5PartAttribF.c:208:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5PART_INT64 [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/H5Part/H5PartAttribF.c:239:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5PART_INT32 [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/H5Part/H5PartAttribF.c:13:18: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] danieljprice-splash-28c1a60/src/H5Part/H5PartAttribF.c:29:18: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] danieljprice-splash-28c1a60/src/H5Part/H5PartAttribF.c:44:18: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] danieljprice-splash-28c1a60/src/H5Part/H5PartAttribF.c:60:18: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] danieljprice-splash-28c1a60/src/H5Part/H5PartAttribF.c:75:18: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] danieljprice-splash-28c1a60/src/H5Part/H5PartAttribF.c:91:18: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] danieljprice-splash-28c1a60/src/H5Part/H5PartAttribF.c:106:18: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] danieljprice-splash-28c1a60/src/H5Part/H5PartAttribF.c:122:18: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] danieljprice-splash-28c1a60/src/H5Part/H5PartAttribF.c:137:18: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] danieljprice-splash-28c1a60/src/H5Part/H5PartAttribF.c:153:18: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] danieljprice-splash-28c1a60/src/H5Part/H5PartAttribF.c:168:18: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] danieljprice-splash-28c1a60/src/H5Part/H5PartAttribF.c:184:18: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] danieljprice-splash-28c1a60/src/H5Part/H5PartAttribF.c:199:18: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] danieljprice-splash-28c1a60/src/H5Part/H5PartAttribF.c:215:18: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] danieljprice-splash-28c1a60/src/H5Part/H5PartAttribF.c:230:18: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] danieljprice-splash-28c1a60/src/H5Part/H5PartAttribF.c:246:18: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] danieljprice-splash-28c1a60/src/H5Part/H5PartF.c:22:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5PART_VFD_MPIPOSIX [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/H5Part/H5PartF.c:37:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5PART_READ [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/H5Part/H5PartF.c:47:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5PART_WRITE [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/H5Part/H5PartF.c:57:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5PART_APPEND [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/H5Part/H5PartF.c:68:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5PART_READ [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/H5Part/H5PartF.c:79:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5PART_WRITE [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/H5Part/H5PartF.c:90:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5PART_APPEND [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/H5Part/H5PartF.c:373:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5PART_INT64 [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/H5Part/H5PartF.c:19:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] danieljprice-splash-28c1a60/src/H5Part/H5PartF.c:25:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] danieljprice-splash-28c1a60/src/H5Part/H5PartF.c:247:18: style: Parameter 'step' can be declared as pointer to const [constParameterPointer] danieljprice-splash-28c1a60/src/hdf5_helper_utils.c:61:0: error: failed to evaluate #if condition, undefined function-like macro invocation: H5_VERSION_GE( ... ) [preprocessorErrorDirective] danieljprice-splash-28c1a60/src/hdf5_helper_utils.c:61:2: error: failed to evaluate #if condition, undefined function-like macro invocation: H5_VERSION_GE( ... ) [preprocessorErrorDirective] danieljprice-splash-28c1a60/src/read_data_amuse_hdf5_utils.c:63:0: error: failed to evaluate #if condition, undefined function-like macro invocation: H5_VERSION_GE( ... ) [preprocessorErrorDirective] danieljprice-splash-28c1a60/src/read_data_amuse_hdf5_utils.c:63:2: error: failed to evaluate #if condition, undefined function-like macro invocation: H5_VERSION_GE( ... ) [preprocessorErrorDirective] danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:223:0: error: failed to evaluate #if condition, undefined function-like macro invocation: H5_VERSION_GE( ... ) [preprocessorErrorDirective] danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:223:2: error: failed to evaluate #if condition, undefined function-like macro invocation: H5_VERSION_GE( ... ) [preprocessorErrorDirective] danieljprice-splash-28c1a60/src/read_data_falcON_hdf5_utils.cc:294:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NATIVE_DOUBLE [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/read_data_falcON_hdf5_utils.cc:359:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clog [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/read_data_falcON_hdf5_utils.cc:381:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clog [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/read_data_falcON_hdf5_utils.cc:439:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clog [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/read_data_falcON_hdf5_utils.cc:447:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clog [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/read_data_falcON_hdf5_utils.cc:463:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clog [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/read_data_falcON_hdf5_utils.cc:548:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clog [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/read_data_falcON_hdf5_utils.cc:368:43: style:inconclusive: Function 'set_falcON_debugging_level' argument 1 names different: declaration 'debug' definition 'd'. [funcArgNamesDifferent] danieljprice-splash-28c1a60/src/read_data_falcON_hdf5_utils.cc:72:45: note: Function 'set_falcON_debugging_level' argument 1 names different: declaration 'debug' definition 'd'. danieljprice-splash-28c1a60/src/read_data_falcON_hdf5_utils.cc:368:43: note: Function 'set_falcON_debugging_level' argument 1 names different: declaration 'debug' definition 'd'. danieljprice-splash-28c1a60/src/read_data_falcON_hdf5_utils.cc:373:34: style:inconclusive: Function 'open_falcON_file' argument 1 names different: declaration 'filename' definition 'file'. [funcArgNamesDifferent] danieljprice-splash-28c1a60/src/read_data_falcON_hdf5_utils.cc:86:36: note: Function 'open_falcON_file' argument 1 names different: declaration 'filename' definition 'file'. danieljprice-splash-28c1a60/src/read_data_falcON_hdf5_utils.cc:373:34: note: Function 'open_falcON_file' argument 1 names different: declaration 'filename' definition 'file'. danieljprice-splash-28c1a60/src/read_data_falcON_hdf5_utils.cc:451:31: style:inconclusive: Function 'open_falcON_snapshot' argument 1 names different: declaration 'ntype' definition 'ntyp'. [funcArgNamesDifferent] danieljprice-splash-28c1a60/src/read_data_falcON_hdf5_utils.cc:136:33: note: Function 'open_falcON_snapshot' argument 1 names different: declaration 'ntype' definition 'ntyp'. danieljprice-splash-28c1a60/src/read_data_falcON_hdf5_utils.cc:451:31: note: Function 'open_falcON_snapshot' argument 1 names different: declaration 'ntype' definition 'ntyp'. danieljprice-splash-28c1a60/src/read_data_falcON_hdf5_utils.cc:297:24: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] danieljprice-splash-28c1a60/src/read_data_flash_hdf5_utils.c:35:0: error: failed to evaluate #if condition, undefined function-like macro invocation: H5_VERSION_GE( ... ) [preprocessorErrorDirective] danieljprice-splash-28c1a60/src/read_data_flash_hdf5_utils.c:35:2: error: failed to evaluate #if condition, undefined function-like macro invocation: H5_VERSION_GE( ... ) [preprocessorErrorDirective] danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:82:0: error: failed to evaluate #if condition, undefined function-like macro invocation: H5_VERSION_GE( ... ) [preprocessorErrorDirective] danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:82:2: error: failed to evaluate #if condition, undefined function-like macro invocation: H5_VERSION_GE( ... ) [preprocessorErrorDirective] danieljprice-splash-28c1a60/src/read_data_pbob_utils.c:89:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable species [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/read_data_pbob_utils.c:108:27: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] danieljprice-splash-28c1a60/src/read_data_pbob_utils.c:107:20: note: Assuming allocation function fails danieljprice-splash-28c1a60/src/read_data_pbob_utils.c:107:20: note: Assignment 'temp=malloc(npart*sizeof(double))', assigned value is 0 danieljprice-splash-28c1a60/src/read_data_pbob_utils.c:108:27: note: Null pointer dereference danieljprice-splash-28c1a60/src/read_data_pbob_utils.c:110:27: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] danieljprice-splash-28c1a60/src/read_data_pbob_utils.c:107:20: note: Assuming allocation function fails danieljprice-splash-28c1a60/src/read_data_pbob_utils.c:107:20: note: Assignment 'temp=malloc(npart*sizeof(double))', assigned value is 0 danieljprice-splash-28c1a60/src/read_data_pbob_utils.c:110:27: note: Null pointer dereference danieljprice-splash-28c1a60/src/read_data_pbob_utils.c:112:27: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] danieljprice-splash-28c1a60/src/read_data_pbob_utils.c:107:20: note: Assuming allocation function fails danieljprice-splash-28c1a60/src/read_data_pbob_utils.c:107:20: note: Assignment 'temp=malloc(npart*sizeof(double))', assigned value is 0 danieljprice-splash-28c1a60/src/read_data_pbob_utils.c:112:27: note: Null pointer dereference danieljprice-splash-28c1a60/src/read_data_pbob_utils.c:114:27: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] danieljprice-splash-28c1a60/src/read_data_pbob_utils.c:107:20: note: Assuming allocation function fails danieljprice-splash-28c1a60/src/read_data_pbob_utils.c:107:20: note: Assignment 'temp=malloc(npart*sizeof(double))', assigned value is 0 danieljprice-splash-28c1a60/src/read_data_pbob_utils.c:114:27: note: Null pointer dereference danieljprice-splash-28c1a60/src/read_data_pbob_utils.c:36:13: style: Variable 'pbob' can be declared as pointer to const [constVariablePointer] danieljprice-splash-28c1a60/src/read_data_silo_utils.c:154:18: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_dbl [nullPointerOutOfMemory] danieljprice-splash-28c1a60/src/read_data_silo_utils.c:146:26: note: Assuming allocation function fails danieljprice-splash-28c1a60/src/read_data_silo_utils.c:146:26: note: Assignment 'tmp_dbl=malloc(np*sizeof(double))', assigned value is 0 danieljprice-splash-28c1a60/src/read_data_silo_utils.c:154:18: note: Null pointer dereference danieljprice-splash-28c1a60/src/read_data_silo_utils.c:113:25: style: Parameter 'npartoftype' can be declared as const array [constParameter] danieljprice-splash-28c1a60/src/read_data_snsph_utils.c:34:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/read_data_snsph_utils.c:106:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] danieljprice-splash-28c1a60/src/read_data_snsph_utils.c:20:21: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] danieljprice-splash-28c1a60/src/read_data_snsph_utils.c:20:36: style: Parameter 'len' can be declared as pointer to const [constParameterPointer] danieljprice-splash-28c1a60/src/read_data_snsph_utils.c:20:58: style: Parameter 'maxpart' can be declared as pointer to const [constParameterPointer] danieljprice-splash-28c1a60/src/read_data_snsph_utils.c:97:21: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] danieljprice-splash-28c1a60/src/read_data_snsph_utils.c:97:36: style: Parameter 'len' can be declared as pointer to const [constParameterPointer] diff: 2.18.0 danieljprice-splash-28c1a60/src/hdf5_helper_utils.c:11:42: style: Parameter 'datasetname' can be declared as pointer to const [constParameterPointer] head danieljprice-splash-28c1a60/src/hdf5_helper_utils.c:61:0: error: failed to evaluate #if condition, undefined function-like macro invocation: H5_VERSION_GE( ... ) [preprocessorErrorDirective] head danieljprice-splash-28c1a60/src/hdf5_helper_utils.c:61:2: error: failed to evaluate #if condition, undefined function-like macro invocation: H5_VERSION_GE( ... ) [preprocessorErrorDirective] 2.18.0 danieljprice-splash-28c1a60/src/read_data_amuse_hdf5_utils.c:150:11: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] danieljprice-splash-28c1a60/src/read_data_amuse_hdf5_utils.c:125:11: note: status is assigned danieljprice-splash-28c1a60/src/read_data_amuse_hdf5_utils.c:150:11: note: status is overwritten 2.18.0 danieljprice-splash-28c1a60/src/read_data_amuse_hdf5_utils.c:241:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5G_DATASET [valueFlowBailoutIncompleteVar] 2.18.0 danieljprice-splash-28c1a60/src/read_data_amuse_hdf5_utils.c:257:11: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] danieljprice-splash-28c1a60/src/read_data_amuse_hdf5_utils.c:224:23: note: status is assigned danieljprice-splash-28c1a60/src/read_data_amuse_hdf5_utils.c:257:11: note: status is overwritten 2.18.0 danieljprice-splash-28c1a60/src/read_data_amuse_hdf5_utils.c:257:11: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] danieljprice-splash-28c1a60/src/read_data_amuse_hdf5_utils.c:237:33: note: status is assigned danieljprice-splash-28c1a60/src/read_data_amuse_hdf5_utils.c:257:11: note: status is overwritten 2.18.0 danieljprice-splash-28c1a60/src/read_data_amuse_hdf5_utils.c:268:35: style: Parameter 'isrequired' can be declared as const array [constParameter] 2.18.0 danieljprice-splash-28c1a60/src/read_data_amuse_hdf5_utils.c:311:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5T_NATIVE_DOUBLE [valueFlowBailoutIncompleteVar] head danieljprice-splash-28c1a60/src/read_data_amuse_hdf5_utils.c:63:0: error: failed to evaluate #if condition, undefined function-like macro invocation: H5_VERSION_GE( ... ) [preprocessorErrorDirective] head danieljprice-splash-28c1a60/src/read_data_amuse_hdf5_utils.c:63:2: error: failed to evaluate #if condition, undefined function-like macro invocation: H5_VERSION_GE( ... ) [preprocessorErrorDirective] 2.18.0 danieljprice-splash-28c1a60/src/read_data_amuse_hdf5_utils.c:92:19: style: Variable 'attr_status' is assigned a value that is never used. [unreadVariable] 2.18.0 danieljprice-splash-28c1a60/src/read_data_amuse_hdf5_utils.c:95:15: style: Variable 'type_id' is assigned a value that is never used. [unreadVariable] 2.18.0 danieljprice-splash-28c1a60/src/read_data_amuse_hdf5_utils.c:98:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5T_NATIVE_DOUBLE [valueFlowBailoutIncompleteVar] 2.18.0 danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:103:150: style:inconclusive: Function 'read_cactus_iteration' argument 11 names different: declaration 'ignoretl' definition 'ignore_time_levels'. [funcArgNamesDifferent] danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:34:149: note: Function 'read_cactus_iteration' argument 11 names different: declaration 'ignoretl' definition 'ignore_time_levels'. danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:103:150: note: Function 'read_cactus_iteration' argument 11 names different: declaration 'ignoretl' definition 'ignore_time_levels'. 2.18.0 danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:103:45: style:inconclusive: Function 'read_cactus_iteration' argument 2 names different: declaration 'iter' definition 'istep'. [funcArgNamesDifferent] danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:34:45: note: Function 'read_cactus_iteration' argument 2 names different: declaration 'iter' definition 'istep'. danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:103:45: note: Function 'read_cactus_iteration' argument 2 names different: declaration 'iter' definition 'istep'. 2.18.0 danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:152:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] 2.18.0 danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:161:20: style: The if condition is the same as the previous if condition [duplicateCondition] danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:159:20: note: First condition danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:161:20: note: Second condition 2.18.0 danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:167:13: warning:inconclusive: The buffer 'thornprev' may not be null-terminated after the call to strncpy(). [terminateStrncpy] 2.18.0 danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:186:19: style: Variable 'ierr' is assigned a value that is never used. [unreadVariable] 2.18.0 danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:198:7: warning: Uninitialized variable: nsub [uninitvar] danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:140:12: note: Assuming condition is false danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:198:7: note: Uninitialized variable: nsub 2.18.0 danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:217:55: style: Parameter 'ncol' can be declared as pointer to const [constParameterPointer] 2.18.0 danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:221:13: style: Local variable 'HDF5_error' shadows outer variable [shadowVariable] danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:20:21: note: Shadowed declaration danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:221:13: note: Shadow variable head danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:223:0: error: failed to evaluate #if condition, undefined function-like macro invocation: H5_VERSION_GE( ... ) [preprocessorErrorDirective] head danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:223:2: error: failed to evaluate #if condition, undefined function-like macro invocation: H5_VERSION_GE( ... ) [preprocessorErrorDirective] 2.18.0 danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:262:18: style: Variable 'attr_status' is assigned a value that is never used. [unreadVariable] 2.18.0 danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:265:14: style: Variable 'type_id' is assigned a value that is never used. [unreadVariable] 2.18.0 danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:270:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5T_NATIVE_DOUBLE [valueFlowBailoutIncompleteVar] 2.18.0 danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:337:26: style: Parameter 'nghost' can be declared as const array [constParameter] 2.18.0 danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:337:43: style: Parameter 'orig' can be declared as const array [constParameter] 2.18.0 danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:337:58: style: Parameter 'delta' can be declared as const array [constParameter] 2.18.0 danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:354:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5T_NATIVE_DOUBLE [valueFlowBailoutIncompleteVar] 2.18.0 danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:387:19: warning: If memory allocation fails, then there is a possible null pointer dereference: xx [nullPointerOutOfMemory] danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:372:27: note: Assuming allocation function fails danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:372:27: note: Assignment 'xx=malloc(ncells*sizeof(double))', assigned value is 0 danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:387:19: note: Null pointer dereference 2.18.0 danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:388:19: warning: If memory allocation fails, then there is a possible null pointer dereference: yy [nullPointerOutOfMemory] danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:373:27: note: Assuming allocation function fails danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:373:27: note: Assignment 'yy=malloc(ncells*sizeof(double))', assigned value is 0 danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:388:19: note: Null pointer dereference 2.18.0 danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:389:19: warning: If memory allocation fails, then there is a possible null pointer dereference: zz [nullPointerOutOfMemory] danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:374:27: note: Assuming allocation function fails danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:374:27: note: Assignment 'zz=malloc(ncells*sizeof(double))', assigned value is 0 danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:389:19: note: Null pointer dereference 2.18.0 danieljprice-splash-28c1a60/src/read_data_cactus_hdf5_utils.c:86:34: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] 2.18.0 danieljprice-splash-28c1a60/src/read_data_flash_hdf5_utils.c:101:11: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] danieljprice-splash-28c1a60/src/read_data_flash_hdf5_utils.c:95:11: note: status is assigned danieljprice-splash-28c1a60/src/read_data_flash_hdf5_utils.c:101:11: note: status is overwritten 2.18.0 danieljprice-splash-28c1a60/src/read_data_flash_hdf5_utils.c:124:60: style: Parameter 'ncol' can be declared as pointer to const [constParameterPointer] 2.18.0 danieljprice-splash-28c1a60/src/read_data_flash_hdf5_utils.c:124:71: style: Parameter 'isrequired' can be declared as pointer to const [constParameterPointer] 2.18.0 danieljprice-splash-28c1a60/src/read_data_flash_hdf5_utils.c:183:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5S_SELECT_SET [valueFlowBailoutIncompleteVar] 2.18.0 danieljprice-splash-28c1a60/src/read_data_flash_hdf5_utils.c:218:36: style: Redundant pointer operation on 'npart' - it's already a pointer. [redundantPointerOp] 2.18.0 danieljprice-splash-28c1a60/src/read_data_flash_hdf5_utils.c:252:39: style: Redundant pointer operation on 'npart' - it's already a pointer. [redundantPointerOp] 2.18.0 danieljprice-splash-28c1a60/src/read_data_flash_hdf5_utils.c:267:57: style: Parameter 'npart' can be declared as pointer to const [constParameterPointer] 2.18.0 danieljprice-splash-28c1a60/src/read_data_flash_hdf5_utils.c:300:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5T_NATIVE_DOUBLE [valueFlowBailoutIncompleteVar] head danieljprice-splash-28c1a60/src/read_data_flash_hdf5_utils.c:35:0: error: failed to evaluate #if condition, undefined function-like macro invocation: H5_VERSION_GE( ... ) [preprocessorErrorDirective] head danieljprice-splash-28c1a60/src/read_data_flash_hdf5_utils.c:35:2: error: failed to evaluate #if condition, undefined function-like macro invocation: H5_VERSION_GE( ... ) [preprocessorErrorDirective] 2.18.0 danieljprice-splash-28c1a60/src/read_data_flash_hdf5_utils.c:94:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5T_C_S1 [valueFlowBailoutIncompleteVar] 2.18.0 danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:110:21: style: Variable 'attr_status' is assigned a value that is never used. [unreadVariable] 2.18.0 danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:117:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5T_NATIVE_DOUBLE [valueFlowBailoutIncompleteVar] 2.18.0 danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:379:12: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:268:12: note: status is assigned danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:379:12: note: status is overwritten 2.18.0 danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:379:12: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:336:16: note: status is assigned danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:379:12: note: status is overwritten 2.18.0 danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:379:12: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:370:20: note: status is assigned danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:379:12: note: status is overwritten 2.18.0 danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:381:12: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:379:12: note: status is assigned danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:381:12: note: status is overwritten 2.18.0 danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:481:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5G_DATASET [valueFlowBailoutIncompleteVar] 2.18.0 danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:493:12: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:442:24: note: status is assigned danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:493:12: note: status is overwritten 2.18.0 danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:493:12: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:476:28: note: status is assigned danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:493:12: note: status is overwritten 2.18.0 danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:508:33: style: Parameter 'isrequired' can be declared as const array [constParameter] 2.18.0 danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:569:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5T_NATIVE_INT [valueFlowBailoutIncompleteVar] head danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:82:0: error: failed to evaluate #if condition, undefined function-like macro invocation: H5_VERSION_GE( ... ) [preprocessorErrorDirective] head danieljprice-splash-28c1a60/src/read_data_gadget_hdf5_utils.c:82:2: error: failed to evaluate #if condition, undefined function-like macro invocation: H5_VERSION_GE( ... ) [preprocessorErrorDirective] DONE