summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
Diffstat (limited to 'fortran')
-rw-r--r--fortran/src/H5Df.c3
-rw-r--r--fortran/src/H5Sf.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/fortran/src/H5Df.c b/fortran/src/H5Df.c
index 68ff852..e9cd89c 100644
--- a/fortran/src/H5Df.c
+++ b/fortran/src/H5Df.c
@@ -91,9 +91,6 @@ nh5dopen_c (hid_t_f *loc_id, _fcd name, int_f *namelen, hid_t_f *dset_id)
int c_namelen;
hid_t c_loc_id;
hid_t c_dset_id;
- hid_t plist;
- off_t offset;
- hsize_t size;
/*
* Convert FORTRAN name to C name
diff --git a/fortran/src/H5Sf.c b/fortran/src/H5Sf.c
index a7f2b1b..f37e9c0 100644
--- a/fortran/src/H5Sf.c
+++ b/fortran/src/H5Sf.c
@@ -320,7 +320,8 @@ nh5sget_select_elem_pointlist_c( hid_t_f *space_id ,hsize_t_f * startpoint,
hid_t c_space_id;
hsize_t c_num_points;
hsize_t c_startpoint,* c_buf;
- int i, rank;
+ int rank;
+ hsize_t i;
c_space_id = *space_id;
c_num_points = (hsize_t)* numpoints;