diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-04-29 06:15:06 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-04-29 06:15:06 (GMT) |
commit | 27496ae0c7b8b1be7165d3720711b15c3a2d1288 (patch) | |
tree | 0a636cb807906c461dcc36e06548328700f97acb /src/H5G.c | |
parent | 2552a2b6d26c9dcaadd9e658276be51070e76f62 (diff) | |
download | hdf5-27496ae0c7b8b1be7165d3720711b15c3a2d1288.zip hdf5-27496ae0c7b8b1be7165d3720711b15c3a2d1288.tar.gz hdf5-27496ae0c7b8b1be7165d3720711b15c3a2d1288.tar.bz2 |
[svn-r12313] Purpose:
Code cleanup
Description:
Clean up a few minor compiler warnings
Platforms tested:
FreeBSD 4.11 (sleipnir)
Linux 2.4/64 (mir)
Diffstat (limited to 'src/H5G.c')
-rw-r--r-- | src/H5G.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2065,7 +2065,7 @@ static herr_t H5G_link_cb(H5G_loc_t *grp_loc/*in*/, const char *name, const H5O_link_t UNUSED *lnk, H5G_loc_t *obj_loc, void *_udata/*in,out*/) { - char *old_link_name; /* Pointer to hold the old link name */ + char *old_link_name = NULL; /* Pointer to hold the old link name */ hbool_t old_link_name_set = FALSE; /* Indicate that we've replaced the old link name */ H5G_trav_ud3_t *udata = (H5G_trav_ud3_t *)_udata; /* User data passed in */ herr_t ret_value = SUCCEED; /* Return value */ @@ -2999,7 +2999,7 @@ H5G_unmount(H5G_t *grp) static herr_t H5G_copy(H5G_loc_t *src_loc, H5G_loc_t *dst_loc, const char *dst_name, hid_t plist_id) { - H5P_genplist_t *gcrt_plist; /* Group create property list created */ + H5P_genplist_t *gcrt_plist = NULL; /* Group create property list created */ H5P_genplist_t *gcpy_plist; /* Group copy property list created */ hid_t dxpl_id = H5AC_dxpl_id; H5G_name_t new_path; /* Copied object group hier. path */ |