diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2017-06-12 03:33:07 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2017-06-13 20:21:58 +0700 |
commit | d1c7323f3c48f7983e87a2e1230623aa29fa83f4 (patch) | |
tree | 67ef65a4119d4b80cc00da200acac201fd649eea | |
parent | cfb1eaacf4107bcf2a368f70cf9bd9d5e8677fa0 (diff) |
sim/core.c: drop useless double assignment
Change-Id: I3bfcabd80b57aeb7f110b306350802e6e82c847a
-rw-r--r-- | src/sim/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/core.c b/src/sim/core.c index 2f129c9e..1ce2fede 100644 --- a/src/sim/core.c +++ b/src/sim/core.c @@ -306,7 +306,7 @@ const struct osim_card_sw *osim_find_sw(const struct osim_card_profile *cp, const struct osim_card_sw **sw_lists = cp->sws; const struct osim_card_sw *sw_list, *sw; - for (sw_list = *sw_lists++; sw_list != NULL; sw = sw_list = *sw_lists++) { + for (sw_list = *sw_lists++; sw_list != NULL; sw_list = *sw_lists++) { for (sw = sw_list; sw->code != 0 && sw->mask != 0; sw++) { if ((sw_in & sw->mask) == sw->code) return sw; |