[PATCH] libosmocore[master]: card_fs_uicc.c: Fix unused compilation warning

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
Sun Jun 18 08:43:28 UTC 2017


Review at  https://gerrit.osmocom.org/2949

card_fs_uicc.c: Fix unused compilation warning

This array of bytes is not yet used but is referring to some specs. They
may be used in the future, so leave it there but mark it explicitly as
unused.

Change-Id: I0a61d17f9989ecddafbc68d4b9446853e4c15159
---
M src/sim/card_fs_uicc.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/49/2949/1

diff --git a/src/sim/card_fs_uicc.c b/src/sim/card_fs_uicc.c
index 70737b6..27afe34 100644
--- a/src/sim/card_fs_uicc.c
+++ b/src/sim/card_fs_uicc.c
@@ -205,4 +205,4 @@
 };
 
 /* Annex E - TS 101 220 */
-static const uint8_t adf_uicc_aid[] = { 0xA0, 0x00, 0x00, 0x00, 0x87, 0x10, 0x01 };
+static const uint8_t __attribute__((__unused__)) adf_uicc_aid[] = { 0xA0, 0x00, 0x00, 0x00, 0x87, 0x10, 0x01 };

-- 
To view, visit https://gerrit.osmocom.org/2949
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0a61d17f9989ecddafbc68d4b9446853e4c15159
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list