removed unused warning

This commit is contained in:
overflowerror 2021-06-08 19:36:00 +02:00
parent 296f0edecd
commit 3fac352343
2 changed files with 2 additions and 0 deletions

View file

@ -2,6 +2,7 @@
{# extends("layout.html.templ", title) #}
%%
{% for(size_t i = 0; i < no; i++) %}
{# render("greeting.templ", names[i]) #}<br />
{% end %}

View file

@ -102,6 +102,7 @@ void generateArguments() {
fprintf(output, "\t{\n");
for (size_t i = 0; i < result.params.no; i++) {
fprintf(output, "\t\t%s = va_arg(argptr, %s);\n", result.params.names[i], result.params.types[i]);
fprintf(output, "\t\t(void) %s;\n", result.params.names[i]);
}
fprintf(output, "\t}\n");
}