diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2011-11-20 09:01:59 +0100 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2011-11-20 09:01:59 +0100 |
commit | 9a5f3b8f787886302591641a729eefe99af08217 (patch) | |
tree | c3500bbd973dfb148f2935a6416f8e932a54b42a /src | |
parent | e45e699199c7f1f1fd79278af16d62efc76b097f (diff) |
gsm/lapd_core: Make sure rc is initialize in lapd_rx_u
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/gsm/lapd_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsm/lapd_core.c b/src/gsm/lapd_core.c index 54adbcaa..c81c2fbf 100644 --- a/src/gsm/lapd_core.c +++ b/src/gsm/lapd_core.c @@ -782,7 +782,7 @@ static int lapd_rx_u(struct msgb *msg, struct lapd_msg_ctx *lctx) { struct lapd_datalink *dl = lctx->dl; int length = lctx->length; - int rc; + int rc = 0; uint8_t prim, op; switch (lctx->s_u) { |