diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2003-04-29 00:00:22 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2003-04-29 00:00:22 (GMT) |
commit | e42dba5336d382d401d753609d415155243f7086 (patch) | |
tree | f8a45de293b7f0b5876c6a2a6bf50f173493e5e4 /fortran/src/H5Git.c | |
parent | c37bcc12fcb51330a640adc82de5caaf388e9f92 (diff) | |
download | hdf5-e42dba5336d382d401d753609d415155243f7086.zip hdf5-e42dba5336d382d401d753609d415155243f7086.tar.gz hdf5-e42dba5336d382d401d753609d415155243f7086.tar.bz2 |
[svn-r6772]
Purpose: Windows maintenance and code cleanup
Description: There were a lot of places in the source code where varibale
was declared but never used.
Solution: Cleaned the source code to avoid warnings on Windows adn Unix
platforms.
Platforms tested: arabica, modi4, Windows
Probably my environment is wrong on Linux, cannot
compile at all when fortran is enabled
If daily tests fails tomorrow, this will be my fault
but I want to go home now :-)
Misc. update:
Diffstat (limited to 'fortran/src/H5Git.c')
-rw-r--r-- | fortran/src/H5Git.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fortran/src/H5Git.c b/fortran/src/H5Git.c index 804f78c..9e7cf5a 100644 --- a/fortran/src/H5Git.c +++ b/fortran/src/H5Git.c @@ -15,6 +15,7 @@ /* This files contains C stubs for H5G Fortran APIs */ #include "hdf5.h" +#include "H5private.h" #include "H5Git.h" #define FALSE 0 @@ -126,7 +127,7 @@ H5Gget_obj_info_idx( hid_t loc_id, char *group_name, int idx, char **objname, si (*objname)[max_objname_len]='\0'; /* Free the name we strdup'ed in obj_info() */ - free(retVal.name); + HDfree(retVal.name); } /* end if */ else *(*objname)='\0'; |