summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/h5dump.c1
-rw-r--r--tools/h5dumptst.c12
2 files changed, 0 insertions, 13 deletions
diff --git a/tools/h5dump.c b/tools/h5dump.c
index fdcd12e..4865458 100644
--- a/tools/h5dump.c
+++ b/tools/h5dump.c
@@ -1235,7 +1235,6 @@ dump_data(hid_t obj_id, int obj_data)
h5dump_t *outputformat = &dataformat;
int d_status = -1;
void *buf;
- char *attr_name = malloc(sizeof(char)*80);
hid_t space, type, p_type;
int ndims, i;
hsize_t size[64], nelmts = 1;
diff --git a/tools/h5dumptst.c b/tools/h5dumptst.c
index 808900a..feb9d1a 100644
--- a/tools/h5dumptst.c
+++ b/tools/h5dumptst.c
@@ -1598,18 +1598,6 @@ void test_nestcomp(void){
s1_t s1[10];
hid_t s1_tid; /* File datatype identifier */
- /* Second structure (subset of s1_t) and dataset*/
- typedef struct s2_t {
- double c;
- int a;
- } s2_t;
- s2_t s2[10];
- hid_t s2_tid; /* Memory datatype handle */
-
- /* Third "structure" ( will be used to read float field of s1) */
- hid_t s3_tid; /* Memory datatype handle */
- float s3[10];
-
int i;
hid_t file, dataset, space; /* Handles */
herr_t status;