summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-09-19 21:08:15 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-09-19 21:08:15 (GMT)
commit22867dca0e1123aef450b3feae34661cefb64a91 (patch)
tree879369bd3df77b6e8c7834f7a3d9980236116e8d /tools
parent073ef8f453445bbe0cfa2569abdaed2a50721a95 (diff)
downloadhdf5-22867dca0e1123aef450b3feae34661cefb64a91.zip
hdf5-22867dca0e1123aef450b3feae34661cefb64a91.tar.gz
hdf5-22867dca0e1123aef450b3feae34661cefb64a91.tar.bz2
[svn-r2579] Purpose:
Clean up small compiler warnings and add missing function prototypes. Platforms tested: FreeBSD 4.1
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;