aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-10-06 21:24:51 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-10-06 21:26:08 +0200
commite90b1977c8e20dbdecef4ebc6fc674604a7bb447 (patch)
tree8e3fea50aec08c520ee56eb8e1d06b3f05cadf04
parent410bc9be9db06d005dc3423f2f9b0432974900fa (diff)
fix build: remove unused variable
fix: "src/gprs/gprs_gmm_attach.c:240:6: error: unused variable ‘rc’" introduced by "gprs_gmm: Fix missing Security Command for 3G when attaching" Change Id I1e12b0a32e58c6f78dba7b548f7d7016567229db Change-Id: I4837c10fed915c558a5374d448af813219087f36
-rw-r--r--src/gprs/gprs_gmm_attach.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gprs/gprs_gmm_attach.c b/src/gprs/gprs_gmm_attach.c
index 60c4398..6fdb3af 100644
--- a/src/gprs/gprs_gmm_attach.c
+++ b/src/gprs/gprs_gmm_attach.c
@@ -237,7 +237,6 @@ static void st_iu_security_cmd_on_enter(struct osmo_fsm_inst *fi, uint32_t prev_
{
#ifdef BUILD_IU
struct sgsn_mm_ctx *ctx = fi->priv;
- int rc = 0;
/* TODO: shouldn't this set always? not only when the integrity_active? */
if (ctx->iu.ue_ctx->integrity_active) {