summaryrefslogtreecommitdiffhomepage
path: root/ir/libcore
diff options
context:
space:
mode:
authorAndreas Fried <andreas.fried@kit.edu>2019-01-07 21:41:37 +0100
committerAndreas Fried <andreas.fried@kit.edu>2019-01-07 21:41:37 +0100
commitda0fcd875b2947c6631495fcac338cab7dd5a05a (patch)
tree775570bd6a4ff8fdd7270ef0463d62a11f10d096 /ir/libcore
parenta57e9231ae60ad6d776ce480f250e425beb53d14 (diff)
Silence compiler warnings.
Diffstat (limited to 'ir/libcore')
-rw-r--r--ir/libcore/lc_printf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ir/libcore/lc_printf.c b/ir/libcore/lc_printf.c
index a2db3c2..c6458ee 100644
--- a/ir/libcore/lc_printf.c
+++ b/ir/libcore/lc_printf.c
@@ -313,6 +313,8 @@ static char *read_int(const char *s, int *value)
int lc_evpprintf(const lc_arg_env_t *env, lc_appendable_t *app, const char *fmt,
va_list args)
{
+ (void)args;
+
int res = 0;
const char *last = fmt + strlen(fmt);