From 9941ebd51953cc84b543d3a4b966c631c4fc0fc8 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 12 Jun 2018 16:59:42 +0200 Subject: osmoload: Remove duplicate const keyword MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes compilation warning: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] const uint8_t const *endptr = bufptr + len; ^~~~~ Change-Id: Ibafa439c9d7f7aab6d417eca5ff045766ac27b4f --- src/host/osmocon/osmoload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/host/osmocon') diff --git a/src/host/osmocon/osmoload.c b/src/host/osmocon/osmoload.c index e83f98ad..8ce755dd 100644 --- a/src/host/osmocon/osmoload.c +++ b/src/host/osmocon/osmoload.c @@ -149,7 +149,7 @@ static int version(const char *name) static void osmoload_osmo_hexdump(const uint8_t *data, unsigned int len) { const uint8_t *bufptr = data; - const uint8_t const *endptr = bufptr + len; + const uint8_t *endptr = bufptr + len; int n, m, i, hexchr; for (n=0; n < len; n+=32, bufptr += 32) { -- cgit v1.2.3