summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/stab.c2
-rw-r--r--test/tattr.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/stab.c b/test/stab.c
index d99391b..c40b518 100644
--- a/test/stab.c
+++ b/test/stab.c
@@ -1273,7 +1273,7 @@ old_api(hid_t fapl)
PASSED();
#else /* H5_NO_DEPRECATED_SYMBOLS */
/* Shut compiler up */
- fapl = fapl;
+ (void)fapl;
SKIPPED();
HDputs(" Deprecated API symbols not enabled");
diff --git a/test/tattr.c b/test/tattr.c
index aeea268..2b7a03b 100644
--- a/test/tattr.c
+++ b/test/tattr.c
@@ -4206,8 +4206,8 @@ test_attr_deprec(hid_t fcpl, hid_t fapl)
CHECK(ret, FAIL, "H5Fclose");
#else /* H5_NO_DEPRECATED_SYMBOLS */
/* Shut compiler up */
- fcpl = fcpl;
- fapl = fapl;
+ (void)fcpl;
+ (void)fapl;
/* Output message about test being skipped */
MESSAGE(5, ("Skipping Test On Deprecated Attribute Routines\n"));