diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2012-02-08 13:41:23 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2012-02-08 13:41:23 (GMT) |
commit | f16098f402139aa4e258542661c3003389803de9 (patch) | |
tree | f4cf5a3556aa28ce339e0749551f6e61a19f7cea /src | |
parent | dda14b5a1cad55126ea74732d0b76f09ce06bc92 (diff) | |
download | hdf5-f16098f402139aa4e258542661c3003389803de9.zip hdf5-f16098f402139aa4e258542661c3003389803de9.tar.gz hdf5-f16098f402139aa4e258542661c3003389803de9.tar.bz2 |
[svn-r21918] Description:
Bring r21917 from trunk to 1.8 branch:
Bring [spirit of] r20393 from coverity branch back to trunk:
Move initialization ocrt_info.new_obj = NULL; before FUNC_ENTER_NOAPI -- gh
Tested on:
Mac OS X/64 10.7.3 (amazon) w/debug, production & parallel
(too minor to require h5committest)
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Dint.c | 2 | ||||
-rw-r--r-- | src/H5G.c | 2 | ||||
-rw-r--r-- | src/H5Tcommit.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Dint.c b/src/H5Dint.c index ecccc71..24bd06c 100644 --- a/src/H5Dint.c +++ b/src/H5Dint.c @@ -403,7 +403,7 @@ H5D_create_named(const H5G_loc_t *loc, const char *name, hid_t type_id, H5D_obj_create_t dcrt_info; /* Information for dataset creation */ H5D_t *ret_value; /* Return value */ - FUNC_ENTER_NOAPI(H5D_create_named, NULL) + FUNC_ENTER_NOAPI_NOINIT(H5D_create_named) /* Check arguments */ HDassert(loc); @@ -276,7 +276,7 @@ H5G_create_named(const H5G_loc_t *loc, const char *name, hid_t lcpl_id, H5G_obj_create_t gcrt_info; /* Information for group creation */ H5G_t *ret_value; /* Return value */ - FUNC_ENTER_NOAPI(H5G_create_named, NULL) + FUNC_ENTER_NOAPI_NOINIT(H5G_create_named) /* Check arguments */ HDassert(loc); diff --git a/src/H5Tcommit.c b/src/H5Tcommit.c index d3779e5..26f021d 100644 --- a/src/H5Tcommit.c +++ b/src/H5Tcommit.c @@ -189,7 +189,7 @@ H5T_commit_named(const H5G_loc_t *loc, const char *name, H5T_t *dt, H5T_state_t old_state = H5T_STATE_TRANSIENT; /* The state of the datatype before H5T_commit. */ herr_t ret_value = SUCCEED; /* Return value */ - FUNC_ENTER_NOAPI(H5T_commit_named, FAIL) + FUNC_ENTER_NOAPI_NOINIT(H5T_commit_named) /* Sanity checks */ HDassert(loc); |