summaryrefslogtreecommitdiffstats
path: root/libfdisk/src/version.c
diff options
context:
space:
mode:
Diffstat (limited to 'libfdisk/src/version.c')
-rw-r--r--libfdisk/src/version.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libfdisk/src/version.c b/libfdisk/src/version.c
index 9d84b4c..b0661e2 100644
--- a/libfdisk/src/version.c
+++ b/libfdisk/src/version.c
@@ -91,7 +91,9 @@ int fdisk_get_library_features(const char ***features)
}
#ifdef TEST_PROGRAM
-static int test_version(struct fdisk_test *ts, int argc, char *argv[])
+static int test_version(struct fdisk_test *ts __attribute__((unused)),
+ int argc __attribute__((unused)),
+ char *argv[] __attribute__((unused)))
{
const char *ver;
const char **features;