Patrick Georgi has submitted this change and it was merged. ( https://review.coreboot.org/19482 )
Change subject: libpayload/gdb: fix unused variable warning ......................................................................
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.
Change-Id: Ibeb7ba53aad5738938093ab7b34695c9c99c9afe Signed-off-by: Patrick Georgi pgeorgi@chromium.org Reviewed-on: https://review.coreboot.org/19482 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones marc@marcjonesconsulting.com --- M payloads/libpayload/gdb/transport.c 1 file changed, 0 insertions(+), 2 deletions(-)
Approvals: build bot (Jenkins): Verified Marc Jones: Looks good to me, approved
diff --git a/payloads/libpayload/gdb/transport.c b/payloads/libpayload/gdb/transport.c index 8f73bb0..5b575d0 100644 --- a/payloads/libpayload/gdb/transport.c +++ b/payloads/libpayload/gdb/transport.c @@ -22,8 +22,6 @@ 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. */