[svn-r1957] removed the program type variable from the file

This commit is contained in:
Patrick Lu 2000-02-15 10:46:26 -05:00
parent 5a91414d6e
commit dda956608e

View File

@ -1170,7 +1170,7 @@ dump_dataset_values(hid_t dset)
* Print all the values. * Print all the values.
*/ */
printf(" Data:\n"); printf(" Data:\n");
if (h5dump_dset(stdout, &info, dset, -1)<0) { if (h5dump_dset(stdout, &info, dset, -1, -1)<0) {
printf(" Unable to print data.\n"); printf(" Unable to print data.\n");
} }
@ -1267,7 +1267,7 @@ list_attr (hid_t obj, const char *attr_name, void UNUSED *op_data)
buf = malloc(need); buf = malloc(need);
assert(buf); assert(buf);
if (H5Aread(attr, p_type, buf)>=0) { if (H5Aread(attr, p_type, buf)>=0) {
h5dump_mem(stdout, &info, p_type, space, buf); h5dump_mem(stdout, &info, p_type, space, buf,-1);
} }
free(buf); free(buf);
H5Tclose(p_type); H5Tclose(p_type);
@ -1918,9 +1918,6 @@ main (int argc, char *argv[])
DISPATCH(H5G_RAGGED, "Ragged Array", H5Gopen, H5Gclose, DISPATCH(H5G_RAGGED, "Ragged Array", H5Gopen, H5Gclose,
NULL, ragged_list2); NULL, ragged_list2);
/* Init the program type for the tools lib*/
programtype = H5LS; /*global*/
/* Name of this program without the path */ /* Name of this program without the path */
if ((progname=strrchr(argv[0], '/'))) progname++; if ((progname=strrchr(argv[0], '/'))) progname++;
else progname = argv[0]; else progname = argv[0];