summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1999-09-30 00:01:55 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1999-09-30 00:01:55 (GMT)
commit72cf03cdbdce7b7bdfcac89c644129ca8ec39463 (patch)
tree23731a841b5409cff01422dd383366ed8c3687c6 /examples
parentf1917f0754c21298006162c391d6725983ed8649 (diff)
downloadhdf5-72cf03cdbdce7b7bdfcac89c644129ca8ec39463.zip
hdf5-72cf03cdbdce7b7bdfcac89c644129ca8ec39463.tar.gz
hdf5-72cf03cdbdce7b7bdfcac89c644129ca8ec39463.tar.bz2
[svn-r1694] Fixed various compiler warnings
Diffstat (limited to 'examples')
-rw-r--r--examples/h5_attribute.c2
-rw-r--r--examples/h5_group.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/h5_attribute.c b/examples/h5_attribute.c
index fd41b0d..890cc3e 100644
--- a/examples/h5_attribute.c
+++ b/examples/h5_attribute.c
@@ -198,7 +198,7 @@ main (void)
* Operator function.
*/
herr_t
-attr_info(hid_t loc_id, const char *name, void *opdata)
+attr_info(hid_t loc_id, const char *name, void UNUSED *opdata)
{
hid_t attr, atype, aspace; /* Attribute, datatype and dataspace identifiers */
int rank;
diff --git a/examples/h5_group.c b/examples/h5_group.c
index 00f9426..f75bc36 100644
--- a/examples/h5_group.c
+++ b/examples/h5_group.c
@@ -151,7 +151,7 @@ main(void)
/*
* Operator function.
*/
-herr_t file_info(hid_t loc_id, const char *name, void *opdata)
+herr_t file_info(hid_t UNUSED loc_id, const char *name, void UNUSED *opdata)
{
/*
* Display group name. The name is passed to the function by
@@ -168,7 +168,7 @@ herr_t file_info(hid_t loc_id, const char *name, void *opdata)
/*
* Operator function.
*/
-herr_t group_info(hid_t loc_id, const char *name, void *opdata)
+herr_t group_info(hid_t loc_id, const char *name, void UNUSED *opdata)
{
hid_t did; /* dataset identifier */
hid_t tid; /* datatype identifier */