aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/sim/core.c2
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;