Vadim Yanitskiy has submitted this change and it was merged.

Change subject: utils/osmo-sim-test.c: strip unused variables
......................................................................


utils/osmo-sim-test.c: strip unused variables

Change-Id: Id577d9df5a814ad5aa00e1d04c4790d75d17ad7e
---
M utils/osmo-sim-test.c
1 file changed, 1 insertion(+), 5 deletions(-)

Approvals:
  Max: Looks good to me, but someone else must approve
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/utils/osmo-sim-test.c b/utils/osmo-sim-test.c
index d822bec..d5e932e 100644
--- a/utils/osmo-sim-test.c
+++ b/utils/osmo-sim-test.c
@@ -36,7 +36,7 @@
 static struct msgb *_select_file(struct osim_chan_hdl *st, uint8_t p1, uint8_t 
p2,
                        const uint8_t *data, uint8_t data_len)
 {
-       struct msgb *msg, *resp;
+       struct msgb *msg;
        uint8_t *dst;
 
        msg = osim_new_apdumsg(0x00, 0xA4, p1, p2, data_len, 256);
@@ -51,8 +51,6 @@
 /* 11.1.1 */
 static struct msgb *select_adf(struct osim_chan_hdl *st, const uint8_t *adf, 
uint8_t adf_len)
 {
-       int sw;
-
        return _select_file(st, 0x04, 0x04, adf,adf_len);
 }
 
@@ -69,7 +67,6 @@
 {
        struct msgb *msg;
        char *pindst;
-       int sw;
 
        if (strlen(pin) > 8)
                return -EINVAL;
@@ -373,7 +370,6 @@
        struct osim_card_hdl *card;
        struct osim_chan_hdl *chan;
        struct msgb *msg;
-       int rc;
 
        reader = osim_reader_open(OSIM_READER_DRV_PCSC, 0, "", NULL);
        if (!reader)

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id577d9df5a814ad5aa00e1d04c4790d75d17ad7e
Gerrit-PatchSet: 2
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Vadim Yanitskiy <axilira...@gmail.com>
Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msur...@sysmocom.de>
Gerrit-Reviewer: Vadim Yanitskiy <axilira...@gmail.com>

Reply via email to