aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/input/ipaccess.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-08-10 08:01:12 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-08-10 08:26:14 +0200
commit336f509941033481168a87e6f23e364676674ac8 (patch)
tree5f27128df31d6051fad122c182acef8302a641d5 /openbsc/src/input/ipaccess.c
parent4e2973d2d3d5b86163b40d6df86b5e18a13a89de (diff)
ipaccess.c: Make the compiler happy...
The compiler thinks the variables might not be initialized, we know it is wrong... but just make it happy.
Diffstat (limited to 'openbsc/src/input/ipaccess.c')
-rw-r--r--openbsc/src/input/ipaccess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/input/ipaccess.c b/openbsc/src/input/ipaccess.c
index e98b22405..7d7e33ca4 100644
--- a/openbsc/src/input/ipaccess.c
+++ b/openbsc/src/input/ipaccess.c
@@ -169,7 +169,7 @@ static int ipaccess_rcvmsg(struct e1inp_line *line, struct msgb *msg,
{
struct tlv_parsed tlvp;
u_int8_t msg_type = *(msg->l2h);
- u_int16_t site_id, bts_id, trx_id;
+ u_int16_t site_id = 0, bts_id = 0, trx_id = 0;
struct gsm_bts *bts;
int ret = 0;