summaryrefslogtreecommitdiffstats
path: root/fortran/src/H5Gf.c
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2003-04-29 00:00:22 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2003-04-29 00:00:22 (GMT)
commite42dba5336d382d401d753609d415155243f7086 (patch)
treef8a45de293b7f0b5876c6a2a6bf50f173493e5e4 /fortran/src/H5Gf.c
parentc37bcc12fcb51330a640adc82de5caaf388e9f92 (diff)
downloadhdf5-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/H5Gf.c')
-rw-r--r--fortran/src/H5Gf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/src/H5Gf.c b/fortran/src/H5Gf.c
index e3b2177..2441973 100644
--- a/fortran/src/H5Gf.c
+++ b/fortran/src/H5Gf.c
@@ -50,7 +50,7 @@ nh5gcreate_c (hid_t_f *loc_id, _fcd name, int_f *namelen, size_t_f *size_hint,
*/
c_loc_id = *loc_id;
if ( *size_hint == OBJECT_NAMELEN_DEFAULT_F )
- c_grp_id = H5Gcreate(c_loc_id, c_name, NULL);
+ c_grp_id = H5Gcreate(c_loc_id, c_name, 0);
else {
c_size_hint = (size_t)*size_hint;
c_grp_id = H5Gcreate(c_loc_id, c_name, c_size_hint);