Commit 346378a6 authored by Dag Erling Smørgrav's avatar Dag Erling Smørgrav

Eliminate __unused.

git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@716 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 5ec250a4
......@@ -401,12 +401,14 @@ DoubleVal(struct tokenlist *tl)
/*--------------------------------------------------------------------*/
static struct var *
HeaderVar(struct tokenlist *tl __unused, struct token *t, struct var *vh)
HeaderVar(struct tokenlist *tl, struct token *t, struct var *vh)
{
char *p;
struct var *v;
int i;
(void)tl;
v = calloc(sizeof *v, 1);
assert(v != NULL);
i = t->e - t->b;
......@@ -1474,19 +1476,23 @@ VCC_CompileFile(struct vsb *sb, const char *fn)
/*--------------------------------------------------------------------*/
static int
VCC_T_render(FILE *f, const struct printf_info *info __unused, const void *const *args)
VCC_T_render(FILE *f, const struct printf_info *info, const void *const *args)
{
const struct token *t;
(void)info;
t = *((const struct token * const*) (args[0]));
return (fprintf(f, "%*.*s",
t->e - t->b, t->e - t->b, t->b));
}
static int
VCC_T_arginfo(const struct printf_info *info __unused, size_t n, int *argtypes)
VCC_T_arginfo(const struct printf_info *info, size_t n, int *argtypes)
{
(void)info;
if (n > 0)
argtypes[0] = PA_POINTER;
return 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment