From d30cefaac153377f55c57be31463633a233bb2b6 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 23 May 2010 21:12:15 +0800 Subject: gprs_bssgp.c: Return something from non void methods. In one use the rc variable we are assigning to, in the others return 0 even if we have a FIXME there. --- openbsc/src/gprs/gprs_bssgp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'openbsc/src') diff --git a/openbsc/src/gprs/gprs_bssgp.c b/openbsc/src/gprs/gprs_bssgp.c index 0d60ac9c..fa994514 100644 --- a/openbsc/src/gprs/gprs_bssgp.c +++ b/openbsc/src/gprs/gprs_bssgp.c @@ -276,6 +276,7 @@ static int bssgp_rx_suspend(struct msgb *msg, struct tlv_parsed *tp, /* FIXME: pass the SUSPEND request to GMM */ /* SEND SUSPEND_ACK or SUSPEND_NACK */ + return 0; } static int bssgp_rx_resume(struct msgb *msg, struct tlv_parsed *tp, @@ -293,6 +294,7 @@ static int bssgp_rx_resume(struct msgb *msg, struct tlv_parsed *tp, /* FIXME: pass the RESUME request to GMM */ /* SEND RESUME_ACK or RESUME_NACK */ + return 0; } static int bssgp_rx_fc_bvc(struct msgb *msg, struct tlv_parsed *tp, @@ -388,7 +390,7 @@ static int gprs_bssgp_rx_ptp(struct msgb *msg, struct tlv_parsed *tp, break; } - + return rc; } /* Receive a BSSGP PDU from a BSS on a SIGNALLING BVCI */ -- cgit v1.2.3