diff --git a/openbsc/src/gprs/gb_proxy_tlli.c b/openbsc/src/gprs/gb_proxy_tlli.c index d521434da..9b337fef9 100644 --- a/openbsc/src/gprs/gb_proxy_tlli.c +++ b/openbsc/src/gprs/gb_proxy_tlli.c @@ -517,7 +517,7 @@ struct gbproxy_link_info *gbproxy_update_link_state_ul( sgsn_tlli = gbproxy_make_sgsn_tlli(peer, link_info, parse_ctx->tlli); link_info->sgsn_tlli.current = sgsn_tlli; - link_info->tlli.current = parse_ctx->tlli;; + link_info->tlli.current = parse_ctx->tlli; } else if (!link_info->tlli.current) { /* New TLLI (info found by IMSI or P-TMSI) */ link_info->tlli.current = parse_ctx->tlli; @@ -597,8 +597,8 @@ struct gbproxy_link_info *gbproxy_update_link_state_dl( parse_ctx->tlli, new_ptmsi); link_info = gbproxy_link_info_alloc(peer); - link_info->sgsn_tlli.current = parse_ctx->tlli;; - link_info->tlli.current = parse_ctx->tlli;; + link_info->sgsn_tlli.current = parse_ctx->tlli; + link_info->tlli.current = parse_ctx->tlli; link_info->sgsn_tlli.ptmsi = new_ptmsi; link_info->tlli.ptmsi = new_ptmsi; gbproxy_attach_link_info(peer, now, link_info); diff --git a/openbsc/src/gprs/gprs_gb_parse.c b/openbsc/src/gprs/gprs_gb_parse.c index db40e9772..87cea1b87 100644 --- a/openbsc/src/gprs/gprs_gb_parse.c +++ b/openbsc/src/gprs/gprs_gb_parse.c @@ -157,7 +157,7 @@ static int gprs_gb_parse_gmm_attach_req(uint8_t *data, size_t data_len, if (lv_shift(&data, &data_len, NULL, &value_len) <= 0 || value_len < 1 || value_len > 8) /* invalid */ - return 0;; + return 0; /* Skip Attach type */ /* Skip Ciphering key sequence number */ @@ -421,7 +421,7 @@ static int gprs_gb_parse_gsm_act_pdp_req(uint8_t *data, size_t data_len, if (lv_shift(&data, &data_len, NULL, &value_len) <= 0 || value_len < 4 || value_len > 14) /* invalid */ - return 0;; + return 0; /* Skip Requested PDP address */ if (lv_shift(&data, &data_len, NULL, &value_len) <= 0 ||