diff options
author | Patrick Georgi <pgeorgi@chromium.org> | 2017-04-27 20:48:43 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2017-04-29 07:34:08 +0200 |
commit | c854e943e016073ac0e8eccbf1e540cb6a762ac4 (patch) | |
tree | a3984ed64e7c22dde2b455768065f2691660b916 | |
parent | 46f292f9bf508b48f5e74f713884b2424e199f42 (diff) |
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>
-rw-r--r-- | payloads/libpayload/gdb/transport.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/payloads/libpayload/gdb/transport.c b/payloads/libpayload/gdb/transport.c index 8f73bb0a1d..5b575d0d83 100644 --- a/payloads/libpayload/gdb/transport.c +++ b/payloads/libpayload/gdb/transport.c @@ -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. */ |