Author: stepan Date: 2009-04-29 21:09:19 +0200 (Wed, 29 Apr 2009) New Revision: 4229
Modified: trunk/payloads/libpayload/libc/console.c Log: 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
Modified: trunk/payloads/libpayload/libc/console.c =================================================================== --- trunk/payloads/libpayload/libc/console.c 2009-04-29 19:08:29 UTC (rev 4228) +++ trunk/payloads/libpayload/libc/console.c 2009-04-29 19:09:19 UTC (rev 4229) @@ -110,7 +110,7 @@ #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();