summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/test_h5diff.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5diff/test_h5diff.c')
-rw-r--r--tools/h5diff/test_h5diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5diff/test_h5diff.c b/tools/h5diff/test_h5diff.c
index 783eb42..7247fcd 100644
--- a/tools/h5diff/test_h5diff.c
+++ b/tools/h5diff/test_h5diff.c
@@ -74,7 +74,7 @@ int write_dataset( hid_t loc_id, int rank, hsize_t *dims, const char *dset_name,
/* Write the buf */
if ( buf )
- assert(H5Dwrite(dataset_id,type_id,H5S_ALL,H5S_ALL,H5P_DEFAULT,buf)>=0);
+ H5Dwrite(dataset_id,type_id,H5S_ALL,H5S_ALL,H5P_DEFAULT,buf);
/* Close */
status = H5Dclose(dataset_id);