mirror of
https://github.com/sigmasternchen/libparcival
synced 2025-03-15 03:48:55 +00:00
removed unused warning
This commit is contained in:
parent
296f0edecd
commit
3fac352343
2 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
{# extends("layout.html.templ", title) #}
|
{# extends("layout.html.templ", title) #}
|
||||||
%%
|
%%
|
||||||
|
|
||||||
{% for(size_t i = 0; i < no; i++) %}
|
{% for(size_t i = 0; i < no; i++) %}
|
||||||
{# render("greeting.templ", names[i]) #}<br />
|
{# render("greeting.templ", names[i]) #}<br />
|
||||||
{% end %}
|
{% end %}
|
||||||
|
|
|
@ -102,6 +102,7 @@ void generateArguments() {
|
||||||
fprintf(output, "\t{\n");
|
fprintf(output, "\t{\n");
|
||||||
for (size_t i = 0; i < result.params.no; i++) {
|
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%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");
|
fprintf(output, "\t}\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue