From 5bdccd862a1863ebdfbeecb68449105cd2393fe7 Mon Sep 17 00:00:00 2001 From: Snaipe Date: Sat, 21 Nov 2015 00:07:53 +0100 Subject: [PATCH] Fixed unused parameter warnings --- src/string/extmatch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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';