diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-07-23 19:35:54 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-07-23 19:35:54 +0800 |
commit | 4f140649cba52d0ccdf16d3ac8491bdf39f9643a (patch) | |
tree | 2d40cce022e02c0f2992b0f2f8aed1b1222e2693 /openbsc | |
parent | a97152b2424482d034d95de7a74501d55f425ed9 (diff) |
clang: rc is not initialized in this USSD method.
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/gsm_04_80.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gsm_04_80.c b/openbsc/src/gsm_04_80.c index e5f05f30c..e5e4aa9b6 100644 --- a/openbsc/src/gsm_04_80.c +++ b/openbsc/src/gsm_04_80.c @@ -114,7 +114,7 @@ static int parse_ussd(u_int8_t *ussd, struct ussd_request *req) static int parse_ussd_info_elements(u_int8_t *ussd_ie, struct ussd_request *req) { - int rc; + int rc = -1; /* Information Element Identifier - table 3.2 & GSM 04.08 section 10.5 */ u_int8_t iei = ussd_ie[0]; u_int8_t iei_length = ussd_ie[1]; |