[svn-r12313] Purpose:

Code cleanup

Description:
    Clean up a few minor compiler warnings

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4/64 (mir)
This commit is contained in:
Quincey Koziol 2006-04-29 01:15:06 -05:00
parent 2552a2b6d2
commit 27496ae0c7
2 changed files with 3 additions and 2 deletions

View File

@ -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 */

View File

@ -76,3 +76,4 @@ H5_DLL herr_t H5HL_get_size(H5F_t *f, hid_t dxpl_id, haddr_t addr, size_t *size)
H5_DLL herr_t H5HL_debug(H5F_t *f, hid_t dxpl_id, haddr_t addr, FILE * stream, int indent,
int fwidth);
#endif