commit | e3a73abc1f8459adda441c68f94908012cd01c28 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Thu Dec 12 15:23:26 2013 +0100 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Thu Dec 12 16:20:01 2013 +0100 |
tree | 4f063fe7a6c26760433150f516a86598313e919e | |
parent | 7b1c777e2a7fbc93e880dae23c1261433995859e [diff] [blame] |
smpp_mirror: Initialize rc when cmd_id is not DELIVER_SM Fixes: Coverity CID 1042369
diff --git a/openbsc/src/utils/smpp_mirror.c b/openbsc/src/utils/smpp_mirror.c index 59e341d..488c4a1 100644 --- a/openbsc/src/utils/smpp_mirror.c +++ b/openbsc/src/utils/smpp_mirror.c
@@ -170,6 +170,8 @@ rc = smpp_handle_deliver(esme, msg); break; default: + LOGP(DSMPP, LOGL_NOTICE, "unhandled case %d\n", cmd_id); + rc = 0; break; }