aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-11-25 14:32:17 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:26 +0100
commitec1d94044f493b7e88c41bf45dd497796b71928e (patch)
tree7a1dc19a720e2c35556c21312d22b4d9e0e86f73 /src
parent1257ecd13613d6f60d317a3ee3f34332188d0cfc (diff)
sim: during init, fall down to next states directly
Diffstat (limited to 'src')
-rw-r--r--src/mm-sim.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/mm-sim.c b/src/mm-sim.c
index d827cf8f..5fe83b27 100644
--- a/src/mm-sim.c
+++ b/src/mm-sim.c
@@ -1022,7 +1022,8 @@ interface_initialization_step (InitAsyncContext *ctx)
ctx);
return;
}
- break;
+ /* Fall down to next step */
+ ctx->step++;
case INITIALIZATION_STEP_IMSI:
/* IMSI is meant to be loaded only once during the whole
@@ -1035,7 +1036,8 @@ interface_initialization_step (InitAsyncContext *ctx)
ctx);
return;
}
- break;
+ /* Fall down to next step */
+ ctx->step++;
case INITIALIZATION_STEP_OPERATOR_ID:
/* Operator ID is meant to be loaded only once during the whole
@@ -1048,7 +1050,8 @@ interface_initialization_step (InitAsyncContext *ctx)
ctx);
return;
}
- break;
+ /* Fall down to next step */
+ ctx->step++;
case INITIALIZATION_STEP_OPERATOR_NAME:
/* Operator Name is meant to be loaded only once during the whole
@@ -1061,7 +1064,8 @@ interface_initialization_step (InitAsyncContext *ctx)
ctx);
return;
}
- break;
+ /* Fall down to next step */
+ ctx->step++;
case INITIALIZATION_STEP_LAST:
/* We are done without errors! */
@@ -1071,9 +1075,8 @@ interface_initialization_step (InitAsyncContext *ctx)
return;
}
- /* Go on to next step */
- ctx->step++;
- interface_initialization_step (ctx);
+
+ g_assert_not_reached ();
}
static void