Fixed unused parameter warnings

This commit is contained in:
Snaipe 2015-11-21 00:07:53 +01:00
parent 80a45b5ecc
commit 5bdccd862a

View file

@ -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';