UPSTREAM: libpayload/gdb: fix unused variable warning

input_underrun is defined but not used. A reasonably new compiler,
enabled warnings and warnings-as-error make the build break for no good
reason.

BUG=none
BRANCH=none
TEST=none

Change-Id: I9b3f117ef563d8828b09f5c09e91874925b685d0
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: c854e943e0
Original-Change-Id: Ibeb7ba53aad5738938093ab7b34695c9c99c9afe
Original-Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Reviewed-on: https://review.coreboot.org/19482
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
Reviewed-on: https://chromium-review.googlesource.com/493971
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
Patrick Georgi 2017-04-27 20:48:43 +02:00 committed by chrome-bot
parent dafe1bf032
commit 631e3838c1

View file

@ -22,8 +22,6 @@ typedef u32 mmio_word_t;
static const int timeout_us = 100 * 1000;
static const char output_overrun[] = "GDB output buffer overrun (try "
"increasing reply.size)!\n";
static const char input_underrun[] = "GDB input message truncated (bug or "
"communication problem)?\n";
/* Serial-specific glue code... add more transport layers here when desired. */