summaryrefslogtreecommitdiffstats
path: root/hl/examples/ex_lite1.c
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2015-03-09 18:45:44 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2015-03-09 18:45:44 (GMT)
commit31ffa03914360f530544c48d6a930abc5009e3d8 (patch)
tree423d8b500386470b0e7371091184214dd9d5fcae /hl/examples/ex_lite1.c
parent64f65d96d945210c23b28e124d286505e31bb68c (diff)
downloadhdf5-31ffa03914360f530544c48d6a930abc5009e3d8.zip
hdf5-31ffa03914360f530544c48d6a930abc5009e3d8.tar.gz
hdf5-31ffa03914360f530544c48d6a930abc5009e3d8.tar.bz2
[svn-r26405] Removed compiler warnings, hl/examples:
HDF5-237 tested: h5committest
Diffstat (limited to 'hl/examples/ex_lite1.c')
-rw-r--r--hl/examples/ex_lite1.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/hl/examples/ex_lite1.c b/hl/examples/ex_lite1.c
index 2a82fef..446c803 100644
--- a/hl/examples/ex_lite1.c
+++ b/hl/examples/ex_lite1.c
@@ -25,16 +25,15 @@ int main( void )
hid_t file_id;
hsize_t dims[RANK]={2,3};
int data[6]={1,2,3,4,5,6};
- herr_t status;
/* create a HDF5 file */
file_id = H5Fcreate ("ex_lite1.h5", H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
/* create and write an integer type dataset named "dset" */
- status = H5LTmake_dataset(file_id,"/dset",RANK,dims,H5T_NATIVE_INT,data);
+ H5LTmake_dataset(file_id,"/dset",RANK,dims,H5T_NATIVE_INT,data);
/* close file */
- status = H5Fclose (file_id);
+ H5Fclose (file_id);
return 0;
}