aboutsummaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/options.c b/src/options.c
index 69d842c..5f2de0f 100644
--- a/src/options.c
+++ b/src/options.c
@@ -262,6 +262,8 @@ static struct option long_options[] = {
static const void *get_default_optval(enum option_type opttype, const char *optname) {
+ (void) opttype;
+
for (unsigned i = 0; i < ARRAY_SIZE(long_options); ++i) {
if (strncmp(long_options[i].name, optname, BUFSIZ /* not optimal */) == 0 &&
strlen(long_options[i].name) == strlen(optname))