aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/ipaccess/ipaccess-proxy.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-30 15:20:46 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-03-30 15:20:46 +0200
commit82ae7169a41677774e67ac56f7c738b8fa067a9c (patch)
tree4f2155ce88117afb9750b2982db52067e30088a9 /openbsc/src/ipaccess/ipaccess-proxy.c
parentacf8a0c59f2e36e00755004693deda2508e4e267 (diff)
[ipaccess] Avoid bogus compiler warning about uninitialized vars
Diffstat (limited to 'openbsc/src/ipaccess/ipaccess-proxy.c')
-rw-r--r--openbsc/src/ipaccess/ipaccess-proxy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/ipaccess/ipaccess-proxy.c b/openbsc/src/ipaccess/ipaccess-proxy.c
index 73ce2df19..386081349 100644
--- a/openbsc/src/ipaccess/ipaccess-proxy.c
+++ b/openbsc/src/ipaccess/ipaccess-proxy.c
@@ -550,6 +550,7 @@ static int ipaccess_rcvmsg(struct ipa_proxy_conn *ipc, struct msgb *msg,
}
/* lookup BTS, create sign_link, ... */
+ site_id = bts_id = trx_id = 0;
parse_unitid((char *)TLVP_VAL(&tlvp, IPAC_IDTAG_UNIT),
&site_id, &bts_id, &trx_id);
ipbc = find_bts_by_unitid(ipp, site_id, bts_id);