summaryrefslogtreecommitdiffstats
path: root/test/dangle.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-06-26 02:10:33 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-06-26 02:10:33 (GMT)
commit2629b6e4d3dce7b13ff6ee8d9ae14b04bb4bc22c (patch)
treebebc3180d77b92c7d200a2770dbafa8f4663abe8 /test/dangle.c
parentcb57304e9a603b9f7212e0c8c49ad7f85bca1e49 (diff)
downloadhdf5-2629b6e4d3dce7b13ff6ee8d9ae14b04bb4bc22c.zip
hdf5-2629b6e4d3dce7b13ff6ee8d9ae14b04bb4bc22c.tar.gz
hdf5-2629b6e4d3dce7b13ff6ee8d9ae14b04bb4bc22c.tar.bz2
[svn-r7109] Purpose:
Code cleanup Description: Clean up varios compiler warnings flagged by SGI compiler and gcc 3.3 Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
Diffstat (limited to 'test/dangle.c')
-rw-r--r--test/dangle.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/test/dangle.c b/test/dangle.c
index 5f8de0c..5e6919b 100644
--- a/test/dangle.c
+++ b/test/dangle.c
@@ -54,7 +54,6 @@ static int
test_dangle_dataset(H5F_close_degree_t degree)
{
char filename[1024];
- off_t file_size; /* Size of file */
hid_t fid; /* File ID */
hid_t fapl; /* File access property list */
hid_t dsid; /* Dataset ID */
@@ -118,7 +117,7 @@ test_dangle_dataset(H5F_close_degree_t degree)
if(H5close()<0)
TEST_ERROR;
- if((file_size=h5_get_file_size(filename))==0)
+ if(h5_get_file_size(filename)==0)
TEST_ERROR;
/* Clean up temporary file */
@@ -152,7 +151,6 @@ static int
test_dangle_group(H5F_close_degree_t degree)
{
char filename[1024];
- off_t file_size; /* Size of file */
hid_t fid; /* File ID */
hid_t fapl; /* File access property list */
hid_t gid; /* Group ID */
@@ -212,7 +210,7 @@ test_dangle_group(H5F_close_degree_t degree)
if(H5close()<0)
TEST_ERROR;
- if((file_size=h5_get_file_size(filename))==0)
+ if(h5_get_file_size(filename)==0)
TEST_ERROR;
/* Clean up temporary file */
@@ -246,7 +244,6 @@ static int
test_dangle_datatype(H5F_close_degree_t degree)
{
char filename[1024];
- off_t file_size; /* Size of file */
hid_t fid; /* File ID */
hid_t fapl; /* File access property list */
hid_t tid; /* Datatype ID */
@@ -310,7 +307,7 @@ test_dangle_datatype(H5F_close_degree_t degree)
if(H5close()<0)
TEST_ERROR;
- if((file_size=h5_get_file_size(filename))==0)
+ if(h5_get_file_size(filename)==0)
TEST_ERROR;
/* Clean up temporary file */
@@ -344,7 +341,6 @@ static int
test_dangle_attribute(H5F_close_degree_t degree)
{
char filename[1024];
- off_t file_size; /* Size of file */
hid_t fid; /* File ID */
hid_t fapl; /* File access property list */
hid_t dsid; /* Dataset ID */
@@ -419,7 +415,7 @@ test_dangle_attribute(H5F_close_degree_t degree)
if(H5close()<0)
TEST_ERROR;
- if((file_size=h5_get_file_size(filename))==0)
+ if(h5_get_file_size(filename)==0)
TEST_ERROR;
/* Clean up temporary file */