summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-05-25 17:39:07 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-05-25 17:39:07 (GMT)
commiteb5b8163f93e4694ae834bac6f002f6ef895ffe8 (patch)
treeeb33855fc79c4fd1defd4a48b8f0552cf1589d3f /examples
parentd7bfa3617fefb3d1e0262d8940d687bfa9717667 (diff)
downloadhdf5-eb5b8163f93e4694ae834bac6f002f6ef895ffe8.zip
hdf5-eb5b8163f93e4694ae834bac6f002f6ef895ffe8.tar.gz
hdf5-eb5b8163f93e4694ae834bac6f002f6ef895ffe8.tar.bz2
[svn-r22411] 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.