summaryrefslogtreecommitdiff
path: root/tools/vgck.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/vgck.c')
-rw-r--r--tools/vgck.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/vgck.c b/tools/vgck.c
index 52fdf1d57..42cd216d7 100644
--- a/tools/vgck.c
+++ b/tools/vgck.c
@@ -15,8 +15,10 @@
#include "tools.h"
-static int vgck_single(struct cmd_context *cmd, const char *vg_name,
- struct volume_group *vg, int consistent, void *handle)
+static int vgck_single(struct cmd_context *cmd __attribute((unused)),
+ const char *vg_name,
+ struct volume_group *vg, int consistent,
+ void *handle __attribute((unused)))
{
if (!vg) {
log_error("Volume group \"%s\" not found", vg_name);