sim/core.c: drop useless double assignment

Change-Id: I3bfcabd80b57aeb7f110b306350802e6e82c847a
This commit is contained in:
Vadim Yanitskiy 2017-06-12 03:33:07 +07:00
parent cfb1eaacf4
commit d1c7323f3c
1 changed files with 1 additions and 1 deletions

View File

@ -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;