Change in osmocom-bb[master]: osmoload: Remove duplicate const keyword

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Tue Jun 12 15:15:09 UTC 2018


Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/9563


Change subject: osmoload: Remove duplicate const keyword
......................................................................

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
---
M src/host/osmocon/osmoload.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/63/9563/1

diff --git a/src/host/osmocon/osmoload.c b/src/host/osmocon/osmoload.c
index e83f98a..8ce755d 100644
--- a/src/host/osmocon/osmoload.c
+++ b/src/host/osmocon/osmoload.c
@@ -149,7 +149,7 @@
 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) {

-- 
To view, visit https://gerrit.osmocom.org/9563
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibafa439c9d7f7aab6d417eca5ff045766ac27b4f
Gerrit-Change-Number: 9563
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180612/8bfe198e/attachment.htm>


More information about the gerrit-log mailing list