summaryrefslogtreecommitdiffstats
path: root/examples
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 /examples
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 'examples')
-rw-r--r--examples/h5_attribute.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/h5_attribute.c b/examples/h5_attribute.c
index 646b395..0ea0153 100644
--- a/examples/h5_attribute.c
+++ b/examples/h5_attribute.c
@@ -66,7 +66,6 @@ main (void)
unsigned i, j; /* Counters */
char string_out[80]; /* Buffer to read string attribute back */
int point_out; /* Buffer to read scalar attribute back */
- int num_attr; /* Number of attributes */
/*
* Data initialization.