From: Stefan Reinauer <[email protected]> Date: Tue, 4 Nov 2014 16:16:46 -0800
gcc complains about using potentially unused variables. BUG=none BRANCH=none TEST=emerge-panther chromeos-seabios builds an image again Signed-off-by: Stefan Reinauer <[email protected]> Change-Id: I6c3d556a6519a5baa3a345e4dcb33b37b22db1b3 Reviewed-on: https://chromium-review.googlesource.com/227520 Reviewed-by: Patrick Georgi <[email protected]> Reviewed-by: Stefan Reinauer <[email protected]> Commit-Queue: Stefan Reinauer <[email protected]> Tested-by: Stefan Reinauer <[email protected]> --- src/kbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kbd.c b/src/kbd.c index 15e5ae7..3f08d32 100644 --- a/src/kbd.c +++ b/src/kbd.c @@ -162,7 +162,7 @@ handle_1609(struct bregs *regs) static void noinline handle_160a(struct bregs *regs) { - u8 param[2]; + u8 param[2] = { 0, 0 }; int ret = kbd_command(ATKBD_CMD_GETID, param); if (ret) { regs->bx = 0; -- 2.25.1 _______________________________________________ SeaBIOS mailing list -- [email protected] To unsubscribe send an email to [email protected]
