summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-05-25 17:58:59 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-05-25 17:58:59 (GMT)
commitfe744bd8df1c0ce23c2631773a9463e781d84052 (patch)
tree3ce1e18ffc3555d0fe65118a56de19dd0d7fe774 /test
parent2f7d953a9d328862297be8c33ecdaaeadd14ae14 (diff)
downloadhdf5-fe744bd8df1c0ce23c2631773a9463e781d84052.zip
hdf5-fe744bd8df1c0ce23c2631773a9463e781d84052.tar.gz
hdf5-fe744bd8df1c0ce23c2631773a9463e781d84052.tar.bz2
[svn-r22412] reduce compiler warnings by removing unreferenced variables and adding cast
Tested: local linux
Diffstat (limited to 'test')
-rw-r--r--test/tfile.c1
-rw-r--r--test/vfd.c3
2 files changed, 1 insertions, 3 deletions
diff --git a/test/tfile.c b/test/tfile.c
index 00b4fed..32831b9 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -2704,7 +2704,6 @@ test_libver_macros(void)
unsigned major = H5_VERS_MAJOR;
unsigned minor = H5_VERS_MINOR;
unsigned release = H5_VERS_RELEASE;
- herr_t ret; /* Return value */
/* Output message about test being performed */
MESSAGE(5, ("Testing macros for library version comparison\n"));
diff --git a/test/vfd.c b/test/vfd.c
index f6e9f06..ca354d9 100644
--- a/test/vfd.c
+++ b/test/vfd.c
@@ -1148,11 +1148,10 @@ test_multi_compat(void)
{
hid_t file=(-1), fapl, fapl2=(-1), dset=(-1), space=(-1);
hid_t access_fapl = -1;
- char filename[1024], newname[1024], tmp[1024];
+ char newname[1024];
char filename_s[1024], newname_s[1024];
char filename_r[1024], newname_r[1024];
int *fhandle2=NULL, *fhandle=NULL;
- hsize_t file_size;
H5FD_mem_t mt, memb_map[H5FD_MEM_NTYPES];
hid_t memb_fapl[H5FD_MEM_NTYPES];
haddr_t memb_addr[H5FD_MEM_NTYPES];