diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2017-05-15 21:37:16 +0300 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2017-05-17 10:15:09 +0000 |
commit | 1cd9991cf68eda563f65a7b8eda8e3cec5ed0859 (patch) | |
tree | 5bf6f89cf9b50a6683dc0116568cf8c6e3c20585 /utils | |
parent | 4c3e4ea305fd145aff499cc7fece2922213f290f (diff) |
utils/osmo-sim-test.c: strip unused variables
Change-Id: Id577d9df5a814ad5aa00e1d04c4790d75d17ad7e
Diffstat (limited to 'utils')
-rw-r--r-- | utils/osmo-sim-test.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/utils/osmo-sim-test.c b/utils/osmo-sim-test.c index d822bec4..d5e932eb 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 @@ static struct msgb *_select_file(struct osim_chan_hdl *st, uint8_t p1, uint8_t p /* 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 @@ static int verify_pin(struct osim_chan_hdl *st, uint8_t pin_nr, char *pin) { struct msgb *msg; char *pindst; - int sw; if (strlen(pin) > 8) return -EINVAL; @@ -373,7 +370,6 @@ int main(int argc, char **argv) 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) |