diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2009-04-29 19:09:19 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2009-04-29 19:09:19 +0000 |
commit | 0ae0bcefe1aecb34b6903f0d3aa08e317dea4215 (patch) | |
tree | f3293221848ecb5b43f734798ec81d2d3c509ab5 /payloads/libpayload/libc | |
parent | 76b5d20d7815841e009d1d54f7929ec3034ec688 (diff) | |
download | coreboot-0ae0bcefe1aecb34b6903f0d3aa08e317dea4215.tar.xz |
don't initialize "in" as it is initialized again one line below.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4229 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/libc')
-rw-r--r-- | payloads/libpayload/libc/console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/libc/console.c b/payloads/libpayload/libc/console.c index ea0eba0164..5368dd698b 100644 --- a/payloads/libpayload/libc/console.c +++ b/payloads/libpayload/libc/console.c @@ -110,7 +110,7 @@ int getchar(void) #ifdef CONFIG_USB usb_poll(); #endif - struct console_input_driver *in = console_in; + struct console_input_driver *in; for (in = console_in; in != 0; in = in->next) if (in->havechar()) return in->getchar(); |