Change in osmocom-bb[master]: osmoload: Set compiler attr to unused function

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:51:45 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/9566 )

Change subject: osmoload: Set compiler attr to unused function
......................................................................

osmoload: Set compiler attr to unused function

Function is not removed as documentation of the load process
capabilities.

Change-Id: I8e838cbb5ae7c9a2f4d0e249fc14f7cbcbc2cb07
---
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 8ce755d..1c20382 100644
--- a/src/host/osmocon/osmoload.c
+++ b/src/host/osmocon/osmoload.c
@@ -551,7 +551,7 @@
 	osmoload.command = command;
 }
 
-static void
+static void __attribute__((__unused__))
 loader_start_flash_query(uint8_t command, uint8_t chip, uint32_t address) {
 	loader_send_flash_query(command, chip, address);
 	osmoload.state = STATE_QUERY_PENDING;

-- 
To view, visit https://gerrit.osmocom.org/9566
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: I8e838cbb5ae7c9a2f4d0e249fc14f7cbcbc2cb07
Gerrit-Change-Number: 9566
Gerrit-PatchSet: 2
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/00be153a/attachment.htm>


More information about the gerrit-log mailing list