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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Jun 13 11:17:13 UTC 2018


Harald Welte has submitted this change and it was merged. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



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: merged
Gerrit-Change-Id: Ibafa439c9d7f7aab6d417eca5ff045766ac27b4f
Gerrit-Change-Number: 9563
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180613/56e8b75b/attachment.htm>


More information about the gerrit-log mailing list