mirror of https://gerrit.osmocom.org/libosmocore
gsm/lapd_core: Make sure rc is initialize in lapd_rx_u
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
e45e699199
commit
9a5f3b8f78
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue