From c854e943e016073ac0e8eccbf1e540cb6a762ac4 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 27 Apr 2017 20:48:43 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/19482 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones --- payloads/libpayload/gdb/transport.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'payloads/libpayload') 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. */ -- cgit v1.2.3