summaryrefslogtreecommitdiffstats
path: root/tests/all-symbols-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/all-symbols-test.c')
-rw-r--r--tests/all-symbols-test.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/all-symbols-test.c b/tests/all-symbols-test.c
index 10c7fe2..8d75044 100644
--- a/tests/all-symbols-test.c
+++ b/tests/all-symbols-test.c
@@ -1,7 +1,7 @@
/*
* Test utility checking symbol versions in libcryptsetup.
*
- * Copyright (C) 2021-2023 Red Hat, Inc. All rights reserved.
+ * Copyright (C) 2021-2024 Red Hat, Inc. All rights reserved.
*
* This file is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -85,6 +85,10 @@ static int check_dlvsym(void *h, const char *symbol, const char *version)
}
log_dbg("OK\n");
+#else
+ UNUSED(h);
+ UNUSED(symbol);
+ UNUSED(version);
#endif
return 0;
}