diff options
author | James Laird <jlaird@hdfgroup.org> | 2006-08-24 15:05:24 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2006-08-24 15:05:24 (GMT) |
commit | a03c1f742db762e7d7b50dca12192b7f9500ab88 (patch) | |
tree | 6787745d869ce15173abaf146f4af4408ff672ee | |
parent | 26f511b7619d1f21f11b89bfc14981e32c66b54d (diff) | |
download | hdf5-a03c1f742db762e7d7b50dca12192b7f9500ab88.zip hdf5-a03c1f742db762e7d7b50dca12192b7f9500ab88.tar.gz hdf5-a03c1f742db762e7d7b50dca12192b7f9500ab88.tar.bz2 |
[svn-r12625] Make sure that a return value in H5Fget_intent is initialized correctly.
-rw-r--r-- | src/H5F.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2750,7 +2750,7 @@ herr_t H5Fget_intent(hid_t file_id, unsigned *intent_flags) { H5F_t * file = NULL; - herr_t ret_value; + herr_t ret_value=SUCCEED; FUNC_ENTER_API(H5Fget_intent, FAIL) if (NULL==(file=H5I_object_verify(file_id, H5I_FILE))) |