summaryrefslogtreecommitdiffstats
path: root/src/H5Fefc.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2011-05-09 21:39:39 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2011-05-09 21:39:39 (GMT)
commit029e30704f140c0ebb248b2141a4243356cf2861 (patch)
treebec11e9e794541580facd90cbe9eb857a9f60552 /src/H5Fefc.c
parent79a646acc7227308c0266c7e9f321524de66a0a1 (diff)
downloadhdf5-029e30704f140c0ebb248b2141a4243356cf2861.zip
hdf5-029e30704f140c0ebb248b2141a4243356cf2861.tar.gz
hdf5-029e30704f140c0ebb248b2141a4243356cf2861.tar.bz2
[svn-r20782] I changed the macro definition of DIR_SEPC and DIR_SEPS to ']' for OpenVMS in H5private.h. Strictly speaking, it isn't
the directory seperator. But it can simplify the code and make the H5L_build_name function cleaner. Tested on jam because the change only affects VMS.
Diffstat (limited to 'src/H5Fefc.c')
-rw-r--r--src/H5Fefc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Fefc.c b/src/H5Fefc.c
index eebf143..a0c204e 100644
--- a/src/H5Fefc.c
+++ b/src/H5Fefc.c
@@ -147,7 +147,7 @@ H5F_efc_open(H5F_t *parent, const char *name, unsigned flags, hid_t fcpl_id,
H5F_efc_t *efc = NULL; /* External file cache for parent file */
H5F_efc_ent_t *ent = NULL; /* Entry for target file in efc */
hbool_t open_file = FALSE; /* Whether ent->file needs to be closed in case of error */
- H5F_t *ret_value; /* Return value */
+ H5F_t *ret_value = NULL; /* Return value */
FUNC_ENTER_NOAPI_NOINIT(H5F_efc_open)