summaryrefslogtreecommitdiff
path: root/src/tools/lcc/etc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/lcc/etc')
-rw-r--r--src/tools/lcc/etc/lcc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/lcc/etc/lcc.c b/src/tools/lcc/etc/lcc.c
index a1688525..8595f2b0 100644
--- a/src/tools/lcc/etc/lcc.c
+++ b/src/tools/lcc/etc/lcc.c
@@ -813,10 +813,9 @@ char *strsave(const char *str) {
char *stringf(const char *fmt, ...) {
char buf[1024];
va_list ap;
- int n;
va_start(ap, fmt);
- n = vsprintf(buf, fmt, ap);
+ vsprintf(buf, fmt, ap);
va_end(ap);
return strsave(buf);
}