summaryrefslogtreecommitdiffstats
path: root/src/H5Spoint.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1999-02-25 23:36:15 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1999-02-25 23:36:15 (GMT)
commitf7bbda2afb6118a92d35ad370e34cc6c21373acc (patch)
tree221c82c2f457b41ca9a949f58fff17134d6292f4 /src/H5Spoint.c
parent252e4dfc5f59cc1e37197e08bc7b26b3f9f5bd6e (diff)
downloadhdf5-f7bbda2afb6118a92d35ad370e34cc6c21373acc.zip
hdf5-f7bbda2afb6118a92d35ad370e34cc6c21373acc.tar.gz
hdf5-f7bbda2afb6118a92d35ad370e34cc6c21373acc.tar.bz2
[svn-r1106] Cleaned up a few compiler warnings, etc.
Diffstat (limited to 'src/H5Spoint.c')
-rw-r--r--src/H5Spoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Spoint.c b/src/H5Spoint.c
index a68b9b5..581a1c3 100644
--- a/src/H5Spoint.c
+++ b/src/H5Spoint.c
@@ -465,7 +465,7 @@ H5S_point_fscat (H5F_t *f, const struct H5O_layout_t *layout,
#endif
} /* end while */
- FUNC_LEAVE (num_written);
+ FUNC_LEAVE (num_written>0 ? SUCCEED : FAIL);
} /* H5S_point_fscat() */
/*-------------------------------------------------------------------------