Harald Welte has submitted this change and it was merged.

Change subject: sim/core.c: drop useless double assignment
......................................................................


sim/core.c: drop useless double assignment

Change-Id: I3bfcabd80b57aeb7f110b306350802e6e82c847a
---
M src/sim/core.c
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/src/sim/core.c b/src/sim/core.c
index 2f129c9..1ce2fed 100644
--- a/src/sim/core.c
+++ b/src/sim/core.c
@@ -306,7 +306,7 @@
        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;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3bfcabd80b57aeb7f110b306350802e6e82c847a
Gerrit-PatchSet: 2
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Vadim Yanitskiy <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <[email protected]>

Reply via email to