diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-06-12 16:59:42 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-06-12 16:59:44 +0200 |
commit | 9941ebd51953cc84b543d3a4b966c631c4fc0fc8 (patch) | |
tree | e593ac1856cf482704325cd3bcd67946819d98d5 /src/host/osmocon | |
parent | 5c576686e2c2d0063a5f6fe4016a8e91946fdf6b (diff) |
osmoload: Remove duplicate const keyword
Fixes compilation warning:
warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
const uint8_t const *endptr = bufptr + len;
^~~~~
Change-Id: Ibafa439c9d7f7aab6d417eca5ff045766ac27b4f
Diffstat (limited to 'src/host/osmocon')
-rw-r--r-- | src/host/osmocon/osmoload.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |