diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-12-07 11:44:37 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-12-07 11:44:37 +0100 |
commit | a2792b03ff671a854c04c1748ea7a154896bbda1 (patch) | |
tree | 2580f0812d6b194f689b94e7faeba0363bfd383e /common/console.c | |
parent | 3fd90207319e93167325a09db501af969f88a531 (diff) | |
download | barebox-a2792b03ff671a854c04c1748ea7a154896bbda1.tar.gz barebox-a2792b03ff671a854c04c1748ea7a154896bbda1.tar.xz |
fprintf: remove unused variable
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/console.c')
-rw-r--r-- | common/console.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/console.c b/common/console.c index 944dd07197..e5c0581381 100644 --- a/common/console.c +++ b/common/console.c @@ -335,7 +335,6 @@ EXPORT_SYMBOL(console_flush); int fprintf(int file, const char *fmt, ...) { va_list args; - uint i; char printbuffer[CFG_PBSIZE]; va_start (args, fmt); @@ -343,7 +342,7 @@ int fprintf(int file, const char *fmt, ...) /* 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 */ |