diff --git a/src/string/extmatch.c b/src/string/extmatch.c index 6e9e550..185a264 100644 --- a/src/string/extmatch.c +++ b/src/string/extmatch.c @@ -99,8 +99,8 @@ typedef struct { char *str; } handler_arg; -static int active(struct context *ctx) { return 1; } -static int inactive(struct context *ctx) { return 0; } +static int active(CR_UNUSED struct context *ctx) { return 1; } +static int inactive(CR_UNUSED struct context *ctx) { return 0; } static int is_eos(struct context *ctx) { return peek_char(ctx) == '\0';