Fixed unused parameter warnings
This commit is contained in:
parent
80a45b5ecc
commit
5bdccd862a
1 changed files with 2 additions and 2 deletions
|
@ -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';
|
||||
|
|
Loading…
Add table
Reference in a new issue