Review at  https://gerrit.osmocom.org/2877

sim/core.c: drop useless double assignment

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


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/77/2877/1

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: newchange
Gerrit-Change-Id: I3bfcabd80b57aeb7f110b306350802e6e82c847a
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Vadim Yanitskiy <[email protected]>

Reply via email to