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:
Sylvain Munaut 2011-11-20 09:01:59 +01:00
parent e45e699199
commit 9a5f3b8f78
1 changed files with 1 additions and 1 deletions

View File

@ -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) {