diff --git a/common/console.c b/common/console.c index 944dd07..e5c0581 100644 --- a/common/console.c +++ b/common/console.c @@ -335,7 +335,6 @@ int fprintf(int file, const char *fmt, ...) { va_list args; - uint i; char printbuffer[CFG_PBSIZE]; va_start (args, fmt); @@ -343,7 +342,7 @@ /* For this to work, printbuffer must be larger than * anything we ever want to print. */ - i = vsprintf (printbuffer, fmt, args); + vsprintf (printbuffer, fmt, args); va_end (args); /* Print the string */